diff options
author | Travis Reitter <treitter@gmail.com> | 2010-07-09 02:34:35 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:36 +0800 |
commit | fef2dec3ea6216921b297c7edbb3665e6c222ef5 (patch) | |
tree | b722d3b46c7a5d4c9c06130aaafcd6910e6c01e8 /libempathy-gtk/empathy-individual-store.c | |
parent | 571d3f81c92099c569c061f38c1ac3b923c04637 (diff) | |
download | gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.gz gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.bz2 gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.lz gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.xz gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.zst gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.zip |
Add 'dup' to the names of empathy_contact_from_folks_individual() and folks_individual_from_empathy_contact() to make it clear that the return value has been referenced.
Diffstat (limited to 'libempathy-gtk/empathy-individual-store.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c index e97b94e88..2153d1ab8 100644 --- a/libempathy-gtk/empathy-individual-store.c +++ b/libempathy-gtk/empathy-individual-store.c @@ -371,7 +371,7 @@ individual_store_add_individual (EmpathyIndividualStore *self, } manager = empathy_individual_manager_dup_singleton (); - contact = empathy_contact_from_folks_individual (individual); + contact = empathy_contact_dup_from_folks_individual (individual); connection = empathy_contact_get_connection (contact); flags = empathy_individual_manager_get_flags_for_connection (manager, connection); @@ -1799,7 +1799,7 @@ individual_store_get_individual_status_icon_with_icon_name ( show_protocols_here = priv->show_protocols && (contact_count == 1); if (show_protocols_here) { - contact = empathy_contact_from_folks_individual (individual); + contact = empathy_contact_dup_from_folks_individual (individual); protocol_name = empathy_protocol_name_for_contact (contact); icon_name = g_strdup_printf ("%s-%s", status_icon_name, protocol_name); } |