[empathy] LogWindow: don't crash when searching
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] LogWindow: don't crash when searching
- Date: Mon, 11 Jul 2011 17:59:01 +0000 (UTC)
commit 3a19d359f1cae8b2b4e6b4c31aaa193bd31a8720
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Mon Jul 11 09:39:38 2011 +0100
LogWindow: don't crash when searching
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 80728a3..c2a9c78 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]