diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2020-09-02 13:33:05 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2020-09-02 13:33:05 +0000 |
commit | 96fd5a24db9c23ea88928e53674c82217f303e15 (patch) | |
tree | 859145ddd1dd3b38f242c9fb89501598b6ef9b25 | |
parent | e85a29852885c1f10165fa97907c89a0a9c61b75 (diff) | |
parent | d4868da99c86b4fb51e245f2a621b335636bfe64 (diff) | |
download | gtk+-96fd5a24db9c23ea88928e53674c82217f303e15.tar.gz |
Merge branch 'gesture-nullable-sequence-3.24' into 'gtk-3-24'
[3.24] Annotate sequence argument of GtkGesture signals as nullable
See merge request GNOME/gtk!2521
-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 4bb7715f38..98e07c7b6e 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -891,7 +891,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, and the #GtkGesture::check @@ -913,7 +913,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 (the #GtkGesture::check handler returned @@ -937,7 +937,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. @@ -954,7 +954,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 @@ -975,7 +975,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 |