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. --- src/empathy-main-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/empathy-main-window.c') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 58ace96d1..c5adf11f2 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -187,7 +187,7 @@ main_window_flash_foreach (GtkTreeModel *model, if (individual == NULL) return FALSE; - contact = empathy_contact_from_folks_individual (individual); + contact = empathy_contact_dup_from_folks_individual (individual); if (contact != data->event->contact) { if (contact != NULL) { g_object_unref (contact); @@ -329,7 +329,7 @@ main_window_row_activated_cb (EmpathyContactListView *view, -1); if (individual != NULL) { - contact = empathy_contact_from_folks_individual (individual); + contact = empathy_contact_dup_from_folks_individual (individual); } if (!contact) { -- cgit v1.2.3