build fix: Only depend on Gee 0.8.3, since 0.8.4 isn't released yet
[platform/upstream/folks.git] / backends / key-file / kf-persona.vala
index e9f742e..2d4b2eb 100644 (file)
@@ -145,8 +145,9 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
       /* Add the new IM addresses to the key file and build a normalised
        * table of them to set as the new property value */
       var new_im_addresses = new HashMultiMap<string, ImFieldDetails> (
-          null, null, AbstractFieldDetails<string>.hash_static,
-          AbstractFieldDetails<string>.equal_static);
+          null, null,
+          (Gee.HashDataFunc) AbstractFieldDetails<string>.hash_static,
+          (Gee.EqualDataFunc) AbstractFieldDetails<string>.equal_static);
 
       foreach (var protocol2 in im_addresses.get_keys ())
         {
@@ -231,8 +232,9 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
        * table of them to set as the new property value */
       var new_web_service_addresses =
         new HashMultiMap<string, WebServiceFieldDetails> (
-            null, null, AbstractFieldDetails<string>.hash_static,
-            AbstractFieldDetails<string>.equal_static);
+            null, null,
+            (Gee.HashDataFunc) AbstractFieldDetails<string>.hash_static,
+            (Gee.EqualDataFunc) AbstractFieldDetails<string>.equal_static);
 
       foreach (var web_service2 in web_service_addresses.get_keys ())
         {
@@ -325,12 +327,14 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
           this.iid, this.display_id);
 
       this._im_addresses = new HashMultiMap<string, ImFieldDetails> (
-          null, null, AbstractFieldDetails<string>.hash_static,
-          AbstractFieldDetails<string>.equal_static);
+          null, null,
+          (Gee.HashDataFunc) AbstractFieldDetails<string>.hash_static,
+          (Gee.EqualDataFunc) AbstractFieldDetails<string>.equal_static);
       this._web_service_addresses =
         new HashMultiMap<string, WebServiceFieldDetails> (
-          null, null, AbstractFieldDetails<string>.hash_static,
-          AbstractFieldDetails<string>.equal_static);
+          null, null,
+          (Gee.HashDataFunc) AbstractFieldDetails<string>.hash_static,
+          (Gee.EqualDataFunc) AbstractFieldDetails<string>.equal_static);
       this._anti_links = new HashSet<string> ();
       this._anti_links_ro = this._anti_links.read_only_view;