summaryrefslogtreecommitdiff
path: root/backends/key-file
diff options
context:
space:
mode:
authorJeremy Whiting <jpwhiting@kde.org>2012-07-24 12:44:25 -0600
committerJeremy Whiting <jpwhiting@kde.org>2012-07-24 12:44:25 -0600
commit80f317be05e60d94fea4a691506760a8b35f314e (patch)
tree223ea9691f35c7a8e18612775b294de271a95dc2 /backends/key-file
parent19f77e2a6ca09fb74635c5387bd2e9a98aa7bfe3 (diff)
Revert "Port folks to libgee 0.8."
Diffstat (limited to 'backends/key-file')
-rw-r--r--backends/key-file/kf-persona.vala15
1 files changed, 7 insertions, 8 deletions
diff --git a/backends/key-file/kf-persona.vala b/backends/key-file/kf-persona.vala
index 05b471d1..39770401 100644
--- a/backends/key-file/kf-persona.vala
+++ b/backends/key-file/kf-persona.vala
@@ -146,8 +146,8 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
* 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);
+ (GLib.HashFunc) ImFieldDetails.hash,
+ (GLib.EqualFunc) ImFieldDetails.equal);
foreach (var protocol2 in im_addresses.get_keys ())
{
@@ -233,8 +233,8 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
var new_web_service_addresses =
new HashMultiMap<string, WebServiceFieldDetails> (
null, null,
- AbstractFieldDetails<string>.hash_static,
- AbstractFieldDetails<string>.equal_static);
+ (GLib.HashFunc) WebServiceFieldDetails.hash,
+ (GLib.EqualFunc) WebServiceFieldDetails.equal);
foreach (var web_service2 in web_service_addresses.get_keys ())
{
@@ -327,13 +327,12 @@ 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, ImFieldDetails.hash, (EqualFunc) ImFieldDetails.equal);
this._web_service_addresses =
new HashMultiMap<string, WebServiceFieldDetails> (
null, null,
- AbstractFieldDetails<string>.hash_static,
- AbstractFieldDetails<string>.equal_static);
+ (GLib.HashFunc) WebServiceFieldDetails.hash,
+ (GLib.EqualFunc) WebServiceFieldDetails.equal);
this._anti_links = new HashSet<string> ();
this._anti_links_ro = this._anti_links.read_only_view;