projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979a7e8
)
gesture: Fix get_last_event() docs
author
Ernestas Kulik
<ernestask@gnome.org>
Tue, 29 May 2018 10:59:06 +0000
(13:59 +0300)
committer
Ernestas Kulik
<ernestask@gnome.org>
Tue, 29 May 2018 15:15:20 +0000
(18:15 +0300)
Querying the event sequence of a gesture will always yield NULL for
non-touch events, but passing NULL in to calls to
gtk_gesture_get_last_event() is a perfectly valid use case.
gtk/gtkgesture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgesture.c
b/gtk/gtkgesture.c
index f9673ebf141082f2fe5e5cae1ce946f4c9b8eef9..b45ab6e17eacb300891cff2b63b39402a94fd872 100644
(file)
--- a/
gtk/gtkgesture.c
+++ b/
gtk/gtkgesture.c
@@
-1159,7
+1159,7
@@
gtk_gesture_get_last_updated_sequence (GtkGesture *gesture)
/**
* gtk_gesture_get_last_event:
* @gesture: a #GtkGesture
- * @sequence: a #GdkEventSequence
+ * @sequence:
(nullable):
a #GdkEventSequence
*
* Returns the last event that was processed for @sequence.
*