diff options
-rw-r--r-- | libempathy-gtk/empathy-individual-widget.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-user-info.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c index a5eb3c99e..832d944de 100644 --- a/libempathy-gtk/empathy-individual-widget.c +++ b/libempathy-gtk/empathy-individual-widget.c @@ -239,7 +239,7 @@ details_update_show (EmpathyIndividualWidget *self, TpConnection *conn; TpAccount *account; - info = tp_contact_get_contact_info (contact); + info = tp_contact_dup_contact_info (contact); info = g_list_sort (info, (GCompareFunc) empathy_contact_info_field_cmp); for (l = info; l != NULL; l = l->next) { @@ -309,7 +309,7 @@ details_update_show (EmpathyIndividualWidget *self, n_rows++; } - g_list_free (info); + tp_contact_info_list_free (info); return n_rows; } diff --git a/libempathy-gtk/empathy-user-info.c b/libempathy-gtk/empathy-user-info.c index 75a6dbd77..592bd45da 100644 --- a/libempathy-gtk/empathy-user-info.c +++ b/libempathy-gtk/empathy-user-info.c @@ -185,7 +185,7 @@ fill_contact_info_grid (EmpathyUserInfo *self) connection = tp_account_get_connection (self->priv->account); contact = tp_connection_get_self_contact (connection); specs = tp_connection_get_contact_info_supported_fields (connection); - info = tp_contact_get_contact_info (contact); + info = tp_contact_dup_contact_info (contact); /* Look at the fields set in our vCard */ for (l = info; l != NULL; l = l->next) @@ -305,7 +305,7 @@ fill_contact_info_grid (EmpathyUserInfo *self) } g_list_free (specs); - g_list_free (info); + tp_contact_info_list_free (info); return n_rows; } |