[empathy] connection-managers: use TpConnectionManager accessor



commit eb601e969efde80a83c0ce0bf9518f08968b263b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jun 6 13:50:21 2012 +0200

    connection-managers: use TpConnectionManager accessor
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677545

 libempathy/empathy-connection-managers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-connection-managers.c b/libempathy/empathy-connection-managers.c
index 84a3182..93985f5 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;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]