summaryrefslogtreecommitdiff
path: root/gtk/gtkgesture.c
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-05-29 13:59:06 +0300
committerErnestas Kulik <ernestask@gnome.org>2018-05-29 18:15:20 +0300
commit334c7911c1858177f23469b6262eacca5a175b66 (patch)
tree2758e08ff6d7cecbcaeca0ab9397e37f292f97bb /gtk/gtkgesture.c
parent979a7e8afa6ec799ccb11b6bf0d92a64c552aa45 (diff)
downloadgtk+-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.c2
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.
*