aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:13:18 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:13:18 +0800
commit2a6e3f146380f0fff8ad02119b48c6e9639d2768 (patch)
treed95bb37315ac70fabd4eb0d56e326587b49d15ef /libempathy/empathy-dispatcher.c
parent1e854701c64c93a7aa836504c9bd9c76ee2a6704 (diff)
downloadgsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar.gz
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar.bz2
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar.lz
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar.xz
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.tar.zst
gsoc2013-empathy-2a6e3f146380f0fff8ad02119b48c6e9639d2768.zip
Let a EmpathyChatroomManager observe the dispatcher
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2149
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index c1ff62f14..f4510123c 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1299,7 +1299,9 @@ empathy_dispatcher_init (EmpathyDispatcher *dispatcher)
}
g_list_free (accounts);
+ /* FIXME thisshould probably be created by another object.. */
priv->chatroom_mgr = empathy_chatroom_manager_new (NULL);
+ empathy_chatroom_manager_observe (priv->chatroom_mgr, dispatcher);
}
EmpathyDispatcher *