From ec601502710c9aef38d4b38a1f3cf6f37794d013 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 11 Sep 2012 14:45:20 +0200 Subject: use tp_connection_dup_contact_info_supported_fields() tp_connection_get_contact_info_supported_fields() has been deprecated --- libempathy-gtk/empathy-user-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-user-info.c') diff --git a/libempathy-gtk/empathy-user-info.c b/libempathy-gtk/empathy-user-info.c index 592bd45da..4c9a2deee 100644 --- a/libempathy-gtk/empathy-user-info.c +++ b/libempathy-gtk/empathy-user-info.c @@ -184,7 +184,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); + specs = tp_connection_dup_contact_info_supported_fields (connection); info = tp_contact_dup_contact_info (contact); /* Look at the fields set in our vCard */ @@ -304,7 +304,7 @@ fill_contact_info_grid (EmpathyUserInfo *self) n_rows++; } - g_list_free (specs); + tp_contact_info_spec_list_free (specs); tp_contact_info_list_free (info); return n_rows; -- cgit v1.2.3