diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-chat-window.c | 2 | ||||
-rw-r--r-- | src/empathy-chatrooms-window.c | 2 | ||||
-rw-r--r-- | src/empathy-main-window.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index c9e67d3c5..f032bbdab 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1252,7 +1252,7 @@ empathy_chat_window_init (EmpathyChatWindow *window) g_object_unref (glade); - priv->chatroom_manager = empathy_chatroom_manager_new (NULL); + priv->chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL); priv->notebook = gtk_notebook_new (); gtk_notebook_set_group (GTK_NOTEBOOK (priv->notebook), "EmpathyChatWindow"); diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c index a29c5278e..841abf7d5 100644 --- a/src/empathy-chatrooms-window.c +++ b/src/empathy-chatrooms-window.c @@ -144,7 +144,7 @@ empathy_chatrooms_window_show (GtkWindow *parent) g_object_add_weak_pointer (G_OBJECT (window->window), (gpointer) &window); /* Get the session and chat room manager */ - window->manager = empathy_chatroom_manager_new (NULL); + window->manager = empathy_chatroom_manager_dup_singleton (NULL); g_signal_connect (window->manager, "chatroom-added", G_CALLBACK (chatrooms_window_chatroom_added_cb), diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index a20345e6d..002820c39 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -743,7 +743,7 @@ main_window_favorite_chatroom_menu_setup (EmpathyMainWindow *window) { GList *chatrooms, *l; - window->chatroom_manager = empathy_chatroom_manager_new (NULL); + window->chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL); chatrooms = empathy_chatroom_manager_get_chatrooms (window->chatroom_manager, NULL); window->room_menu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (window->room)); |