diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-27 17:35:36 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-27 17:47:12 +0200 |
commit | 2012b67c5bfe8291dd77f6726b4f2c26f694b4ba (patch) | |
tree | 7cef48c8567b76220c1d51dcd8cc2ef6b9100ade /gtk/gtkbutton.c | |
parent | e0fd9017220f4f490063a37c30b667a6921f74b7 (diff) | |
download | gtk+-2012b67c5bfe8291dd77f6726b4f2c26f694b4ba.tar.gz |
button: Claim the sequence on multipress::pressed
In order to avoid the event from bubbling, as it used to (not) do.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 17a1f9d987..32483b4249 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -598,6 +598,7 @@ multipress_pressed_cb (GtkGestureMultiPress *gesture, gtk_widget_grab_focus (widget); g_signal_emit (button, button_signals[PRESSED], 0); + gtk_gesture_set_state (GTK_GESTURE (gesture), GTK_EVENT_SEQUENCE_CLAIMED); } static void |