diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-10 05:10:45 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-10 05:22:23 +0800 |
commit | 5c96e5c47e4165508afa184e1c1eefa5318f19e2 (patch) | |
tree | 52b8c5dda3122e1c562bd9defc8182fb0cc251af | |
parent | ef63fc4cdc7bda74694a8a2af379e4c060a82e79 (diff) | |
download | gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar.gz gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar.bz2 gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar.lz gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar.xz gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.tar.zst gsoc2013-empathy-5c96e5c47e4165508afa184e1c1eefa5318f19e2.zip |
Don't ref the returned hash table
-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; } /** |