button: Claim the sequence on multipress::pressed

In order to avoid the event from bubbling, as it used to (not) do.
This commit is contained in:
Carlos Garnacho 2014-05-27 17:35:36 +02:00
parent e0fd901722
commit 2012b67c5b

View File

@ -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