aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:15:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:15:02 +0800
commitbfdd834b3b8e3f22f82ffc47f41e553f902e8200 (patch)
tree09b30d6b279d377b1a8eaf6c39e21e06e0635593 /src
parent67582abc7e901b5de7670bcf2434a15e18938835 (diff)
downloadgsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar.gz
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar.bz2
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar.lz
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar.xz
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.tar.zst
gsoc2013-empathy-bfdd834b3b8e3f22f82ffc47f41e553f902e8200.zip
Move the dispatcher to the new singleton policy
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2181
Diffstat (limited to 'src')
-rw-r--r--src/empathy-event-manager.c2
-rw-r--r--src/empathy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 4b47cd7b9..53c3b84d9 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -592,7 +592,7 @@ empathy_event_manager_init (EmpathyEventManager *manager)
manager->priv = priv;
- priv->dispatcher = empathy_get_dispatcher ();
+ priv->dispatcher = empathy_dispatcher_dup_singleton ();
priv->contact_manager = empathy_contact_manager_dup_singleton ();
g_signal_connect (priv->dispatcher, "approve",
G_CALLBACK (event_manager_approve_channel_cb), manager);
diff --git a/src/empathy.c b/src/empathy.c
index f86426fea..441242e57 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -513,7 +513,7 @@ main (int argc, char *argv[])
}
/* Handle channels */
- dispatcher = empathy_get_dispatcher ();
+ dispatcher = empathy_dispatcher_dup_singleton ();
g_signal_connect (dispatcher, "dispatch", G_CALLBACK (dispatch_cb), NULL);
gtk_main ();