Merge branch 'fix-issue-5965' into 'main'

gtktextview: return early when resetting gesture / event controller

Closes #5965

See merge request GNOME/gtk!6200
This commit is contained in:
Matthias Clasen 2023-07-22 13:51:32 +00:00
commit ddfe9f15af

View File

@ -5653,7 +5653,7 @@ gtk_text_view_click_gesture_pressed (GtkGestureClick *gesture,
gtk_text_iter_get_line (&ins))
{
gtk_event_controller_reset (GTK_EVENT_CONTROLLER (gesture));
n_press = 1;
return;
}
}