diff options
-rw-r--r-- | libempathy/empathy-contact.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } /** |