[gtk+] inspector: Fix a typo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Fix a typo
- Date: Tue, 4 Aug 2015 11:12:53 +0000 (UTC)
commit 56d39241a90c19ed37686b7bd7e3944b32bae94d
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 4 07:11:34 2015 -0400
inspector: Fix a typo
Blocking a signal should be paired with unblocking.
Spotted by Krzesimir Nowak
gtk/inspector/object-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c
index e35fd5c..55fc7e3 100644
--- a/gtk/inspector/object-tree.c
+++ b/gtk/inspector/object-tree.c
@@ -847,7 +847,7 @@ select_object_internal (GtkInspectorObjectTree *wt,
g_signal_handlers_block_by_func (selection, on_selection_changed, wt);
gtk_tree_selection_select_iter (selection, &iter);
if (!activate)
- g_signal_handlers_block_by_func (selection, on_selection_changed, wt);
+ g_signal_handlers_unblock_by_func (selection, on_selection_changed, wt);
gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (wt->priv->tree), path, NULL, TRUE, 0.5, 0);
if (activate)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]