diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-06-14 14:39:33 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-06-14 15:03:12 +0800 |
commit | b81b252fddaaa77207a7b6c11e7e05c9c2c26410 (patch) | |
tree | 828f690e0cc3132ad4d1fb674398fd974b6f082f | |
parent | 95107dadaa0b19028c03bfe89f7c473ec91e9d8e (diff) | |
download | gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar.gz gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar.bz2 gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar.lz gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar.xz gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.tar.zst gsoc2013-empathy-b81b252fddaaa77207a7b6c11e7e05c9c2c26410.zip |
If path is NULL, the signal is blocked forever
-rw-r--r-- | 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 184b3e877..242cd9b6d 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); |