diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-05-29 13:59:06 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-05-29 18:15:20 +0300 |
commit | 334c7911c1858177f23469b6262eacca5a175b66 (patch) | |
tree | 2758e08ff6d7cecbcaeca0ab9397e37f292f97bb /gtk/gtkgesture.c | |
parent | 979a7e8afa6ec799ccb11b6bf0d92a64c552aa45 (diff) | |
download | gtk+-334c7911c1858177f23469b6262eacca5a175b66.tar.gz |
gesture: Fix get_last_event() docs
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.
Diffstat (limited to 'gtk/gtkgesture.c')
-rw-r--r-- | gtk/gtkgesture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index f9673ebf14..b45ab6e17e 100644 --- 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. * |