aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connection-managers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-connection-managers.c')
-rw-r--r--libempathy/empathy-connection-managers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-connection-managers.c b/libempathy/empathy-connection-managers.c
index 84a318210..93985f5da 100644
--- a/libempathy/empathy-connection-managers.c
+++ b/libempathy/empathy-connection-managers.c
@@ -286,7 +286,7 @@ empathy_connection_managers_get_cm (EmpathyConnectionManagers *self,
{
TpConnectionManager *c = TP_CONNECTION_MANAGER (l->data);
- if (!tp_strdiff (c->name, cm))
+ if (!tp_strdiff (tp_connection_manager_get_name (c), cm))
return c;
}