[empathy] If path is NULL, the signal is blocked forever
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] If path is NULL, the signal is blocked forever
- Date: Mon, 14 Jun 2010 07:03:21 +0000 (UTC)
commit b81b252fddaaa77207a7b6c11e7e05c9c2c26410
Author: Xavier Claessens <xclaesse gmail com>
Date: Mon Jun 14 08:39:33 2010 +0200
If path is NULL, the signal is blocked forever
libempathy-gtk/empathy-contact-list-view.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 184b3e8..242cd9b 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -1304,14 +1304,14 @@ contact_list_view_expand_idle_cb (gpointer user_data)
ExpandData *data = user_data;
GtkTreePath *path;
- g_signal_handlers_block_by_func (data->view,
- contact_list_view_row_expand_or_collapse_cb,
- GINT_TO_POINTER (data->expand));
-
path = gtk_tree_row_reference_get_path (data->row_ref);
if (path == NULL)
goto done;
+ g_signal_handlers_block_by_func (data->view,
+ contact_list_view_row_expand_or_collapse_cb,
+ GINT_TO_POINTER (data->expand));
+
if (data->expand) {
gtk_tree_view_expand_row (GTK_TREE_VIEW (data->view), path,
TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]