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.
This commit is contained in:
Ernestas Kulik 2018-05-29 13:59:06 +03:00
parent 979a7e8afa
commit 334c7911c1

View File

@ -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.
*