diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-28 18:57:21 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-28 18:57:21 +0800 |
commit | c783b1cc37aef75834b8143bca727752eceba2eb (patch) | |
tree | 44282f9de1346aa6c03c23057b6ed6f1323eb4fc | |
parent | 351363f1eb2a91d3bc9d2418614a16d190e95dfa (diff) | |
download | gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar.gz gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar.bz2 gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar.lz gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar.xz gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.tar.zst gsoc2013-empathy-c783b1cc37aef75834b8143bca727752eceba2eb.zip |
Fix previous commit. Oops.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1925 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index e11a59cd5..b0bfe759c 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -623,16 +623,16 @@ log_window_chats_populate (EmpathyLogWindow *window) account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser_chats); account = empathy_account_chooser_get_account (account_chooser); - if (account == NULL) { - gtk_list_store_clear (store); - return; - } - view = GTK_TREE_VIEW (window->treeview_chats); model = gtk_tree_view_get_model (view); selection = gtk_tree_view_get_selection (view); store = GTK_LIST_STORE (model); + if (account == NULL) { + gtk_list_store_clear (store); + return; + } + /* Block signals to stop the logs being retrieved prematurely */ g_signal_handlers_block_by_func (selection, log_window_chats_changed_cb, |