[Telepathy-commits] [telepathy-gabble/master] Use GabblePrivateTubesFactory as a ChannelManager

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 3 11:20:50 PST 2008


20080731191948-53eee-56af9766eef7c9a7517d2dbcfa1cccb806df25cf.gz
---
 src/connection.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index 467999d..ef7881d 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -203,9 +203,6 @@ _gabble_connection_create_channel_factories (TpBaseConnection *conn)
                                  "connection", self,
                                  NULL));
 
-  self->private_tubes_factory = gabble_private_tubes_factory_new (self);
-  g_ptr_array_add (channel_factories, self->private_tubes_factory);
-
   /* Temporary hack for requestotron support - divert the channel factories
    * and channel managers to somewhere under our control */
   self->channel_factories = channel_factories;
@@ -218,6 +215,9 @@ _gabble_connection_create_channel_factories (TpBaseConnection *conn)
         "connection", self,
         NULL));
 
+  self->private_tubes_factory = gabble_private_tubes_factory_new (self);
+  g_ptr_array_add (self->channel_managers, self->private_tubes_factory);
+
   return channel_factories;
 }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list