diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-09-02 13:32:20 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-09-02 13:32:20 +0300 |
commit | ae5d1cd1612c6e5129ccb01ea79cc8aaabd30b5e (patch) | |
tree | 25b8889ccdb2f396939b65e350ac0d0baca3aaf3 /gtk | |
parent | f53b59533da0c46d26dee0014dcc46c0b95665db (diff) | |
download | gtk+-ae5d1cd1612c6e5129ccb01ea79cc8aaabd30b5e.tar.gz |
Annotate sequence argument of GtkGesture signals as nullable
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkgesture.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index 7f983d8586..66546efa6f 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -763,7 +763,7 @@ gtk_gesture_class_init (GtkGestureClass *klass) /** * GtkGesture::begin: * @gesture: the object which received the signal - * @sequence: the #GdkEventSequence that made the gesture to be recognized + * @sequence: (nullable): the #GdkEventSequence that made the gesture to be recognized * * This signal is emitted when the gesture is recognized. This means the * number of touch sequences matches #GtkGesture:n-points. @@ -782,7 +782,7 @@ gtk_gesture_class_init (GtkGestureClass *klass) /** * GtkGesture::end: * @gesture: the object which received the signal - * @sequence: the #GdkEventSequence that made gesture recognition to finish + * @sequence: (nullable): the #GdkEventSequence that made gesture recognition to finish * * This signal is emitted when @gesture either stopped recognizing the event * sequences as something to be handled, or the number of touch sequences became @@ -803,7 +803,7 @@ gtk_gesture_class_init (GtkGestureClass *klass) /** * GtkGesture::update: * @gesture: the object which received the signal - * @sequence: the #GdkEventSequence that was updated + * @sequence: (nullable): the #GdkEventSequence that was updated * * This signal is emitted whenever an event is handled while the gesture is * recognized. @sequence is guaranteed to pertain to the set of active touches. @@ -818,7 +818,7 @@ gtk_gesture_class_init (GtkGestureClass *klass) /** * GtkGesture::cancel: * @gesture: the object which received the signal - * @sequence: the #GdkEventSequence that was cancelled + * @sequence: (nullable): the #GdkEventSequence that was cancelled * * This signal is emitted whenever a sequence is cancelled. This usually * happens on active touches when gtk_event_controller_reset() is called @@ -837,7 +837,7 @@ gtk_gesture_class_init (GtkGestureClass *klass) /** * GtkGesture::sequence-state-changed: * @gesture: the object which received the signal - * @sequence: the #GdkEventSequence that was cancelled + * @sequence: (nullable): the #GdkEventSequence that was cancelled * @state: the new sequence state * * This signal is emitted whenever a sequence state changes. See |