Commit 3cc9543e authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

gesturemultipress: fix reentrancy on ::reset()

parent cdb5ba94
...@@ -91,11 +91,9 @@ _gtk_gesture_multi_press_stop (GtkGestureMultiPress *gesture) ...@@ -91,11 +91,9 @@ _gtk_gesture_multi_press_stop (GtkGestureMultiPress *gesture)
if (priv->n_presses == 0) if (priv->n_presses == 0)
return; return;
if (priv->n_presses != 0)
g_signal_emit (gesture, signals[STOPPED], 0);
priv->current_button = 0; priv->current_button = 0;
priv->n_presses = 0; priv->n_presses = 0;
g_signal_emit (gesture, signals[STOPPED], 0);
gtk_gesture_check (GTK_GESTURE (gesture)); gtk_gesture_check (GTK_GESTURE (gesture));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment