[Telepathy-commits] [telepathy-gabble/master] gabble-connection: always add the gadget iface so client can wait for gadget discovered signals

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:13 PDT 2008


20080526135217-7fe3f-3e2814556220b5603782e69ea2d8be19a86a0795.gz
---
 src/connection.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index cd44f9e..b6d6f99 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -528,6 +528,7 @@ gabble_connection_class_init (GabbleConnectionClass *gabble_connection_class)
       TP_IFACE_CONNECTION_INTERFACE_PRESENCE,
       TP_IFACE_CONNECTION_INTERFACE_AVATARS,
       TP_IFACE_CONNECTION_INTERFACE_CONTACTS,
+      GABBLE_IFACE_OLPC_GADGET,
       NULL };
 
   DEBUG("Initializing (GabbleConnectionClass *)%p", gabble_connection_class);
@@ -2039,8 +2040,7 @@ connection_disco_cb (GabbleDisco *disco,
   if (conn->features && GABBLE_CONNECTION_FEATURES_PEP)
     {
       const gchar *ifaces[] = { GABBLE_IFACE_OLPC_BUDDY_INFO,
-          GABBLE_IFACE_OLPC_ACTIVITY_PROPERTIES, GABBLE_IFACE_OLPC_GADGET,
-          NULL };
+          GABBLE_IFACE_OLPC_ACTIVITY_PROPERTIES, NULL };
 
       tp_base_connection_add_interfaces ((TpBaseConnection *) conn, ifaces);
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list