projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e042db9
)
gtktextview: return early when resetting gesture / event controller
author
Luca Bacci
<luca.bacci982@gmail.com>
Fri, 21 Jul 2023 13:33:45 +0000
(15:33 +0200)
committer
Luca Bacci
<luca.bacci982@gmail.com>
Fri, 21 Jul 2023 13:33:45 +0000
(15:33 +0200)
Fixes #5965
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index b0a68f85044d87cb6c928a34fd3ba51f500f0c70..b1af05e2c9acffb43a86599cea572c54765fb680 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-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
;
}
}