diff options
Diffstat (limited to 'gtk/gtkgesture.c')
-rw-r--r-- | gtk/gtkgesture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index f8656e589e..798c7a29be 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -1102,7 +1102,7 @@ gtk_gesture_get_sequence_state (GtkGesture *gesture, * GdkEventSequence *sequence, * gpointer user_data) * { - * gtk_gesture_set_sequence_state (first_gesture, sequence, GTK_EVENT_SEQUENCE_ACCEPTED); + * gtk_gesture_set_sequence_state (first_gesture, sequence, GTK_EVENT_SEQUENCE_CLAIMED); * gtk_gesture_set_sequence_state (second_gesture, sequence, GTK_EVENT_SEQUENCE_DENIED); * } * @@ -1111,7 +1111,7 @@ gtk_gesture_get_sequence_state (GtkGesture *gesture, * GdkEventSequence *sequence, * gpointer user_data) * { - * if (gtk_gesture_get_sequence_state (first_gesture, sequence) == GTK_EVENT_SEQUENCE_ACCEPTED) + * if (gtk_gesture_get_sequence_state (first_gesture, sequence) == GTK_EVENT_SEQUENCE_CLAIMED) * gtk_gesture_set_sequence_state (second_gesture, sequence, GTK_EVENT_SEQUENCE_DENIED); * } * ]| @@ -1270,7 +1270,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. * |