diff options
author | Timm Bäder <mail@baedert.org> | 2017-06-25 18:27:10 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:14 -0400 |
commit | f1813e8f8850ae707598455d4ed2fc89a1afb394 (patch) | |
tree | 592ee7a9461b756ba93d86f111d50356b6cb0dde /gtk/gtkspinbutton.c | |
parent | 333b52bc14b428abdb568c6d0311902c3de51bbf (diff) | |
download | gtk+-f1813e8f8850ae707598455d4ed2fc89a1afb394.tar.gz |
spinbutton: Fix gesture state
We claimed the gesture previously to keep it from propagating to the
underlying entry, but now that the entry is in a box with the two
buttons, we can do this properly and restore the previous long-press
behavior.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r-- | gtk/gtkspinbutton.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 26dac7ea45..9034ecabc2 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -788,8 +788,6 @@ button_pressed_cb (GtkGestureMultiPress *gesture, gtk_widget_grab_focus (GTK_WIDGET (spin_button)); - gtk_gesture_set_state (GTK_GESTURE (gesture), GTK_EVENT_SEQUENCE_CLAIMED); - if (gtk_editable_get_editable (GTK_EDITABLE (priv->entry))) { int button = gtk_gesture_single_get_current_button (GTK_GESTURE_SINGLE (gesture)); |