diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-04-08 12:16:56 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-04-08 12:17:31 +0200 |
commit | 89e0b0fc909132aba68a40e1a0eabe4d425bc8c6 (patch) | |
tree | 1d7520c47aabf8e81ab633d565d67e07d7dddadd | |
parent | b8b7f98faf26e79270fce5a99833d26e30ac5d07 (diff) | |
download | gnome-contacts-89e0b0fc909132aba68a40e1a0eabe4d425bc8c6.tar.gz |
Avoid more ownership mismatches of container elements
-rw-r--r-- | src/contacts-utils.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts-utils.vala b/src/contacts-utils.vala index 9671ccc..f4c7ffc 100644 --- a/src/contacts-utils.vala +++ b/src/contacts-utils.vala @@ -83,7 +83,7 @@ namespace Contacts.Utils { public void start_chat (Contact contact, string protocol, string id) { var im_persona = contact.find_im_persona (protocol, id); var account = (im_persona.store as Tpf.PersonaStore).account; - var request_dict = new HashTable<weak string, Value?>(str_hash, str_equal); + var request_dict = new HashTable<string, Value?>(str_hash, str_equal); request_dict.insert (TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE, TelepathyGLib.IFACE_CHANNEL_TYPE_TEXT); request_dict.insert (TelepathyGLib.PROP_CHANNEL_TARGET_HANDLE_TYPE, @@ -98,7 +98,7 @@ namespace Contacts.Utils { } public void start_call (string contact_id, TelepathyGLib.Account account) { - var request_dict = new HashTable<weak string,GLib.Value?>(str_hash, str_equal); + var request_dict = new HashTable<string,GLib.Value?>(str_hash, str_equal); request_dict.insert (TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE, TelepathyGLib.IFACE_CHANNEL_TYPE_CALL); |