[Telepathy-commits] [telepathy-gabble/master] GabbleConnection: use GabbleMucFactory as a GabbleChannelManager
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Aug 21 06:31:59 PDT 2008
20080805145014-53eee-5f188c0b2be3d6e0dd8419036eadb6151b56a931.gz
---
src/connection.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index e5c1aec..5e2b0ac 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -193,11 +193,6 @@ _gabble_connection_create_channel_factories (TpBaseConnection *conn)
g_ptr_array_add (channel_factories, self->roster);
- self->muc_factory = g_object_new (GABBLE_TYPE_MUC_FACTORY,
- "connection", self,
- NULL);
- g_ptr_array_add (channel_factories, self->muc_factory);
-
g_ptr_array_add (channel_factories,
g_object_new (GABBLE_TYPE_MEDIA_FACTORY,
"connection", self,
@@ -223,6 +218,11 @@ _gabble_connection_create_channel_factories (TpBaseConnection *conn)
"connection", self,
NULL));
+ self->muc_factory = g_object_new (GABBLE_TYPE_MUC_FACTORY,
+ "connection", self,
+ NULL);
+ g_ptr_array_add (self->channel_managers, self->muc_factory);
+
return channel_factories;
}
--
1.5.6.3
More information about the Telepathy-commits
mailing list