empathy r1925 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1925 - trunk/libempathy-gtk
- Date: Fri, 28 Nov 2008 10:57:21 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 28 10:57:21 2008
New Revision: 1925
URL: http://svn.gnome.org/viewvc/empathy?rev=1925&view=rev
Log:
Fix previous commit. Oops.
Modified:
trunk/libempathy-gtk/empathy-log-window.c
Modified: trunk/libempathy-gtk/empathy-log-window.c
==============================================================================
--- trunk/libempathy-gtk/empathy-log-window.c (original)
+++ trunk/libempathy-gtk/empathy-log-window.c Fri Nov 28 10:57:21 2008
@@ -623,16 +623,16 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]