summaryrefslogtreecommitdiff
path: root/gtk/gtkbindings.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2013-03-15 18:48:44 +0100
committerChristian Persch <chpe@gnome.org>2013-04-17 13:21:44 +0200
commit9f0ee69552160237fed28554220a49cec0352c3c (patch)
tree7ae6c1a9345155d36c93d98926a47a2686b81f08 /gtk/gtkbindings.c
parent0990c11a83ef514b459687ac43cb2737efe9b8e6 (diff)
downloadgtk+-9f0ee69552160237fed28554220a49cec0352c3c.tar.gz
bindings: Fix gtk_binding_entry_skip
This fixes a regression from commit 9a3466832cc73ae29b704547747b8699132c1250. https://bugzilla.gnome.org/show_bug.cgi?id=695380
Diffstat (limited to 'gtk/gtkbindings.c')
-rw-r--r--gtk/gtkbindings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 4cbbeaf6aa..fae85f5ea6 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -1557,7 +1557,7 @@ gtk_bindings_activate_list (GObject *object,
handled = binding_activate (binding_set, entries,
object, is_release,
&unbound);
- if (handled)
+ if (handled || unbound)
break;
}
@@ -1584,6 +1584,8 @@ gtk_bindings_activate_list (GObject *object,
handled = binding_activate (binding_set, entries,
object, is_release,
&unbound);
+ if (unbound)
+ break;
}
if (unbound)