summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturemultipress.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgesturemultipress.c')
-rw-r--r--gtk/gtkgesturemultipress.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkgesturemultipress.c b/gtk/gtkgesturemultipress.c
index 6698ace605..799f349a12 100644
--- a/gtk/gtkgesturemultipress.c
+++ b/gtk/gtkgesturemultipress.c
@@ -91,11 +91,9 @@ _gtk_gesture_multi_press_stop (GtkGestureMultiPress *gesture)
if (priv->n_presses == 0)
return;
- if (priv->n_presses != 0)
- g_signal_emit (gesture, signals[STOPPED], 0);
-
priv->current_button = 0;
priv->n_presses = 0;
+ g_signal_emit (gesture, signals[STOPPED], 0);
gtk_gesture_check (GTK_GESTURE (gesture));
}