aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c2
-rw-r--r--libempathy/empathy-utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index a2e53b2b9..779d19a19 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -926,7 +926,7 @@ empathy_contact_change_group (EmpathyContact *contact, const gchar *group,
if (priv->groups == NULL)
{
priv->groups = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup,
- g_free, NULL, NULL, NULL, NULL, NULL, NULL);
+ g_free, g_str_hash, g_str_equal);
}
gee_collection_add (GEE_COLLECTION (priv->groups), group);
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 667f6669d..cc518c0b0 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -1129,7 +1129,7 @@ create_individual_from_persona (FolksPersona *persona)
personas = GEE_SET (
gee_hash_set_new (FOLKS_TYPE_PERSONA, g_object_ref, g_object_unref,
- NULL, NULL, NULL, NULL, NULL, NULL));
+ g_direct_hash, g_direct_equal));
gee_collection_add (GEE_COLLECTION (personas), persona);