aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-06 19:55:54 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 15:12:53 +0800
commit543b740d588715174fcc69a18e90c741d13e3ee1 (patch)
treeb937ec4f31997f46724da96696409c6660be8291 /src
parent56b41e384f973cb85d786e04fa1f651c1e41ee1e (diff)
downloadgsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar.gz
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar.bz2
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar.lz
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar.xz
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.tar.zst
gsoc2013-empathy-543b740d588715174fcc69a18e90c741d13e3ee1.zip
import-utils: use TpConnectionManager accessors
https://bugzilla.gnome.org/show_bug.cgi?id=677545
Diffstat (limited to 'src')
-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 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;