From 5c96e5c47e4165508afa184e1c1eefa5318f19e2 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Sat, 9 May 2009 17:10:45 -0400 Subject: Don't ref the returned hash table --- libempathy/empathy-contact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-contact.c') diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 6c7b18c4f..56a1c75af 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -1035,7 +1035,7 @@ empathy_avatar_save_to_file (EmpathyAvatar *self, * Example: a "city" key would have "Helsinki" as string GValue, * a "latitude" would have 65.0 as double GValue. * - * Returns: a #GHashTable of location values, use #g_hash_table_unref when it to free it + * Returns: a #GHashTable of location values */ GHashTable * empathy_contact_get_location (EmpathyContact *contact) @@ -1046,7 +1046,7 @@ empathy_contact_get_location (EmpathyContact *contact) priv = GET_PRIV (contact); - return g_hash_table_ref (priv->location); + return priv->location; } /** -- cgit v1.2.3