[empathy] import-utils: use TpConnectionManager accessors
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] import-utils: use TpConnectionManager accessors
- Date: Thu, 7 Jun 2012 07:13:50 +0000 (UTC)
commit 543b740d588715174fcc69a18e90c741d13e3ee1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jun 6 13:55:54 2012 +0200
import-utils: use TpConnectionManager accessors
https://bugzilla.gnome.org/show_bug.cgi?id=677545
src/empathy-import-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c
index 0c878e8..2c942b5 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]