summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-16 17:17:04 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-17 14:22:30 +0100
commit1790864c868d3348d3ff873efb82c174943a7c2a (patch)
treee788ddc98bc2b1f6111a9c08a3d339d1da45d2c2 /telepathy-glib/base-contact-list.c
parent1ea36afc3ee47f1516dc6fa1f3001a66e75fd05f (diff)
_tp_base_connection_dup_contact_attributes: de-confuse name
Two things were confusing about its name: it ended with _hash but didn't return a GHashTable any more, and it contained _dup_ but didn't return a ref.
Diffstat (limited to 'telepathy-glib/base-contact-list.c')
-rw-r--r--telepathy-glib/base-contact-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index 196583237..ed19d31b3 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -3691,7 +3691,7 @@ tp_base_contact_list_mixin_get_contact_list_attributes (
set = tp_base_contact_list_dup_contacts (self);
contacts = tp_handle_set_to_array (set);
- result = _tp_base_connection_dup_contact_attributes_hash (
+ result = _tp_base_connection_dup_contact_attributes (
self->priv->conn, contacts, interfaces, assumed);
_tp_gdbus_connection_interface_contact_list1_complete_get_contact_list_attributes (
@@ -3699,6 +3699,7 @@ tp_base_contact_list_mixin_get_contact_list_attributes (
g_array_unref (contacts);
tp_handle_set_destroy (set);
+ g_variant_unref (result);
}
return TRUE;