[Telepathy-commits] [telepathy-gabble/master] conn-olpc: fix gabble_disco_service_find as arguments were swapped

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


20080415103513-7fe3f-f6dae534efa8f151ea0a4f8810a66fbea92af750.gz
---
 src/conn-olpc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 0afa916..cd5b8d6 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -260,7 +260,7 @@ check_gadget_buddy (GabbleConnection *conn,
   if (conn->olpc_gadget_buddy != NULL)
     return TRUE;
 
-  item = gabble_disco_service_find (conn->disco, "gadget", "collaboration",
+  item = gabble_disco_service_find (conn->disco, "collaboration", "gadget",
       NS_OLPC_BUDDY);
 
   if (item != NULL)
@@ -289,7 +289,7 @@ check_gadget_activity (GabbleConnection *conn,
   if (conn->olpc_gadget_activity != NULL)
     return TRUE;
 
-  item = gabble_disco_service_find (conn->disco, "gadget", "collaboration",
+  item = gabble_disco_service_find (conn->disco, "collaboration", "gadget",
       NS_OLPC_ACTIVITY);
 
   if (item != NULL)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list