aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c2
-rw-r--r--src/empathy-main-window.c4
-rw-r--r--src/empathy.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index a9af44827..984b55db7 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1100,7 +1100,7 @@ empathy_accounts_dialog_show (GtkWindow *parent,
/* Set up signalling */
dialog->account_manager = empathy_account_manager_dup_singleton ();
- dialog->mc = empathy_mission_control_new ();
+ dialog->mc = empathy_mission_control_dup_singleton ();
g_signal_connect (dialog->account_manager, "account-created",
G_CALLBACK (accounts_dialog_account_added_cb),
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 002820c39..cafa5f0ae 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -551,7 +551,7 @@ empathy_main_window_show (void)
main_window_connection_items_setup (window, glade);
g_object_unref (glade);
- window->mc = empathy_mission_control_new ();
+ window->mc = empathy_mission_control_dup_singleton ();
window->account_manager = empathy_account_manager_dup_singleton ();
g_signal_connect (window->account_manager,
@@ -848,7 +848,7 @@ main_window_favorite_chatroom_join (EmpathyChatroom *chatroom)
McAccount *account;
const gchar *room;
- mc = empathy_mission_control_new ();
+ mc = empathy_mission_control_dup_singleton ();
account = empathy_chatroom_get_account (chatroom);
room = empathy_chatroom_get_room (chatroom);
diff --git a/src/empathy.c b/src/empathy.c
index 15e233d24..fae4611a7 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -459,7 +459,7 @@ main (int argc, char *argv[])
}
/* Setting up MC */
- mc = empathy_mission_control_new ();
+ mc = empathy_mission_control_dup_singleton ();
g_signal_connect (mc, "ServiceEnded",
G_CALLBACK (service_ended_cb),
NULL);