[gnome-contacts] Avoid ownership mismatches of container elements



commit a25ec7b4d579ccb5ea798b33aa2c99a767b2615b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Apr 5 12:23:49 2018 +0200

    Avoid ownership mismatches of container elements

 src/contacts-types.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/contacts-types.vala b/src/contacts-types.vala
index 9affca6..2a4058a 100644
--- a/src/contacts-types.vala
+++ b/src/contacts-types.vala
@@ -53,7 +53,7 @@ public class Contacts.TypeSet : Object  {
   private TypeSet () {
     display_name_hash = new HashTable<unowned string, Data> (str_hash, str_equal);
     vcard_lookup_hash = new HashTable<unowned string, GLib.List<InitData*> > (str_hash, str_equal);
-    custom_hash = new HashTable<unowned string, TreeIter? > (str_hash, str_equal);
+    custom_hash = new HashTable<string, TreeIter? > (str_hash, str_equal);
 
     store = new Gtk.ListStore (2,
                                // Display name or null for separator


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]