From fef2dec3ea6216921b297c7edbb3665e6c222ef5 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 8 Jul 2010 11:34:35 -0700 Subject: 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. --- libempathy-gtk/empathy-individual-store.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-individual-store.c') 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); } -- cgit v1.2.3