aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 ();