[Telepathy-commits] [telepathy-gabble/master] GabbleConnection: use the new GabbleRoomlistManager

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Aug 21 06:31:57 PDT 2008


20080805142637-53eee-7d36d720da98e9d2ec5c49715f226998db66dafd.gz
---
 src/connection.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index 467999d..e5c1aec 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -57,7 +57,6 @@
 #include "disco.h"
 #include "media-channel.h"
 #include "register.h"
-#include "roomlist-channel.h"
 #include "im-factory.h"
 #include "media-factory.h"
 #include "muc-factory.h"
@@ -66,6 +65,7 @@
 #include "presence.h"
 #include "pubsub.h"
 #include "request-pipeline.h"
+#include "roomlist-manager.h"
 #include "roster.h"
 #include "private-tubes-factory.h"
 #include "util.h"
@@ -218,6 +218,11 @@ _gabble_connection_create_channel_factories (TpBaseConnection *conn)
         "connection", self,
         NULL));
 
+  g_ptr_array_add (self->channel_managers,
+      g_object_new (GABBLE_TYPE_ROOMLIST_MANAGER,
+        "connection", self,
+        NULL));
+
   return channel_factories;
 }
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list