aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:15:17 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:15:17 +0800
commit1991fd5404adbc78e244cd38c7aa297c4933aef1 (patch)
treebac99eb80423cf7de6e4561b4a3542e4f4097a9c /src/empathy-main-window.c
parente805d6ba0430bcc5f7bbc400e5152cf36b8d92ff (diff)
downloadgsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar.gz
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar.bz2
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar.lz
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar.xz
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.tar.zst
gsoc2013-empathy-1991fd5404adbc78e244cd38c7aa297c4933aef1.zip
Convert EmpathyChatroomManager to the new singleton convention
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c2
1 files changed, 1 insertions, 1 deletions
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));