From 543b740d588715174fcc69a18e90c741d13e3ee1 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 6 Jun 2012 13:55:54 +0200 Subject: import-utils: use TpConnectionManager accessors https://bugzilla.gnome.org/show_bug.cgi?id=677545 --- src/empathy-import-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c index 0c878e8f6..2c942b585 100644 --- a/src/empathy-import-utils.c +++ b/src/empathy-import-utils.c @@ -97,7 +97,7 @@ empathy_import_protocol_is_supported (const gchar *protocol, (const gchar*) protocol)) { if (!tp_strdiff (protocol, "irc") - && !tp_strdiff (tp_cm->name, "haze")) + && !tp_strdiff (tp_connection_manager_get_name (tp_cm), "haze")) continue; if (!proto_is_supported) @@ -111,7 +111,7 @@ empathy_import_protocol_is_supported (const gchar *protocol, /* we have more than one CM for this protocol, * select the one which is not haze. */ - if (!tp_strdiff ((*cm)->name, "haze")) + if (!tp_strdiff (tp_connection_manager_get_name ((*cm)), "haze")) { *cm = tp_cm; break; -- cgit v1.2.3