summaryrefslogtreecommitdiff
path: root/src/empathy-import-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-06 13:55:54 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 09:12:53 +0200
commit543b740d588715174fcc69a18e90c741d13e3ee1 (patch)
treeb937ec4f31997f46724da96696409c6660be8291 /src/empathy-import-utils.c
parent56b41e384f973cb85d786e04fa1f651c1e41ee1e (diff)
import-utils: use TpConnectionManager accessors
https://bugzilla.gnome.org/show_bug.cgi?id=677545
Diffstat (limited to 'src/empathy-import-utils.c')
-rw-r--r--src/empathy-import-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c
index 0c878e8f..2c942b58 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;