diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-16 04:40:17 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-16 04:40:17 +0800 |
commit | 3b1d93ed7f7a948d24ecaeb97751083c41841b81 (patch) | |
tree | dd52029f5f7e102d2976c858f15a6eaf6c671cb9 /src | |
parent | 577ef4e2d94c51ee8dc4a991e1bd62f6e0ca9d34 (diff) | |
download | gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar.gz gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar.bz2 gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar.lz gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar.xz gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.tar.zst gsoc2013-empathy-3b1d93ed7f7a948d24ecaeb97751083c41841b81.zip |
empathy_mission_control_new -> dup_singleton.
svn path=/trunk/; revision=2233
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-accounts-dialog.c | 2 | ||||
-rw-r--r-- | src/empathy-main-window.c | 4 | ||||
-rw-r--r-- | src/empathy.c | 2 |
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); |