diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 80728a38f..c2a9c7897 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -1947,8 +1947,9 @@ log_window_update_what_sensitivity (EmpathyLogWindow *self) GList *accounts, *targets, *acc, *targ; gboolean next; - log_window_get_selected (self, &accounts, &targets, NULL, NULL, - NULL, NULL); + if (!log_window_get_selected (self, &accounts, &targets, NULL, NULL, + NULL, NULL)) + return; view = GTK_TREE_VIEW (self->priv->treeview_what); model = gtk_tree_view_get_model (view); |