aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-11 20:45:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-11 21:10:44 +0800
commitec601502710c9aef38d4b38a1f3cf6f37794d013 (patch)
tree42c1c34a052bba321b63416eeafccd3c4253d39b /libempathy-gtk
parent2aab470c76e4c0b383b3ac6140796314883c3cc6 (diff)
downloadgsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar.gz
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar.bz2
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar.lz
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar.xz
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.tar.zst
gsoc2013-empathy-ec601502710c9aef38d4b38a1f3cf6f37794d013.zip
use tp_connection_dup_contact_info_supported_fields()
tp_connection_get_contact_info_supported_fields() has been deprecated
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-user-info.c4
1 files changed, 2 insertions, 2 deletions
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;