diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-07-18 07:18:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-18 07:18:21 -0400 |
commit | affb4ff5f414ee3c4b15d577172558698f5f647f (patch) | |
tree | 4789254d7f68e981a95b0e8316a317ed63d59b5e | |
parent | ee22277f18aafa7d6f23de90001fbde42db3c4c7 (diff) | |
download | gtk+-affb4ff5f414ee3c4b15d577172558698f5f647f.tar.gz |
Fix up version annotations
The new api here was introduced in 3.24.
-rw-r--r-- | gtk/gtkeventcontrollerkey.c | 2 | ||||
-rw-r--r-- | gtk/gtkeventcontrollermotion.c | 4 | ||||
-rw-r--r-- | gtk/gtkeventcontrollerscroll.c | 10 | ||||
-rw-r--r-- | gtk/gtkeventcontrollerscroll.h | 2 | ||||
-rw-r--r-- | gtk/gtkgesturestylus.c | 8 | ||||
-rw-r--r-- | gtk/gtkgesturestylus.h | 10 |
6 files changed, 20 insertions, 16 deletions
diff --git a/gtk/gtkeventcontrollerkey.c b/gtk/gtkeventcontrollerkey.c index 70c34bd4e6..b270efb9b8 100644 --- a/gtk/gtkeventcontrollerkey.c +++ b/gtk/gtkeventcontrollerkey.c @@ -232,7 +232,7 @@ gtk_event_controller_key_set_im_context (GtkEventControllerKey *controller, * * Returns: (transfer none): the IM context * - * Since: 3.94 + * Since: 3.24 **/ GtkIMContext * gtk_event_controller_key_get_im_context (GtkEventControllerKey *controller) diff --git a/gtk/gtkeventcontrollermotion.c b/gtk/gtkeventcontrollermotion.c index 75c293e205..c20c3710da 100644 --- a/gtk/gtkeventcontrollermotion.c +++ b/gtk/gtkeventcontrollermotion.c @@ -26,7 +26,7 @@ * #GtkEventControllerMotion is an event controller meant for situations * where you need to track the position of the pointer. * - * This object was added in 3.94. + * This object was added in 3.24. **/ #include "config.h" @@ -156,7 +156,7 @@ gtk_event_controller_motion_init (GtkEventControllerMotion *motion) * * Returns: a new #GtkEventControllerMotion * - * Since: 3.94 + * Since: 3.24 **/ GtkEventController * gtk_event_controller_motion_new (GtkWidget *widget) diff --git a/gtk/gtkeventcontrollerscroll.c b/gtk/gtkeventcontrollerscroll.c index db98d7c51a..73848cd6e5 100644 --- a/gtk/gtkeventcontrollerscroll.c +++ b/gtk/gtkeventcontrollerscroll.c @@ -56,7 +56,7 @@ * with two X/Y velocity arguments that are consistent with the motion that * was received. * - * This object was added in 3.93. + * This object was added in 3.24. **/ #include "config.h" @@ -367,7 +367,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass) * * The flags affecting event controller behavior * - * Since: 3.93 + * Since: 3.24 **/ pspecs[PROP_FLAGS] = g_param_spec_flags ("flags", @@ -461,7 +461,7 @@ gtk_event_controller_scroll_init (GtkEventControllerScroll *scroll) * * Returns: a new #GtkEventControllerScroll * - * Since: 3.93 + * Since: 3.24 **/ GtkEventController * gtk_event_controller_scroll_new (GtkWidget *widget, @@ -482,7 +482,7 @@ gtk_event_controller_scroll_new (GtkWidget *widget, * * Sets the flags conditioning scroll controller behavior. * - * Since: 3.93 + * Since: 3.24 **/ void gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll, @@ -505,7 +505,7 @@ gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll, * * Returns: the controller flags. * - * Since: 3.93 + * Since: 3.24 **/ GtkEventControllerScrollFlags gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll) diff --git a/gtk/gtkeventcontrollerscroll.h b/gtk/gtkeventcontrollerscroll.h index d1d33366c7..8b785a8a0f 100644 --- a/gtk/gtkeventcontrollerscroll.h +++ b/gtk/gtkeventcontrollerscroll.h @@ -51,7 +51,7 @@ typedef struct _GtkEventControllerScrollClass GtkEventControllerScrollClass; * * Describes the behavior of a #GtkEventControllerScroll. * - * Since: 3.93 + * Since: 3.24 **/ typedef enum { GTK_EVENT_CONTROLLER_SCROLL_NONE = 0, diff --git a/gtk/gtkgesturestylus.c b/gtk/gtkgesturestylus.c index cda366b92f..492dadc439 100644 --- a/gtk/gtkgesturestylus.c +++ b/gtk/gtkgesturestylus.c @@ -137,7 +137,7 @@ gtk_gesture_stylus_init (GtkGestureStylus *gesture) * * Returns: a newly created stylus gesture * - * Since: 3.94 + * Since: 3.24 **/ GtkGesture * gtk_gesture_stylus_new (GtkWidget *widget) @@ -170,7 +170,7 @@ gesture_get_current_event (GtkGestureStylus *gesture) * * Returns: #TRUE if there is a current value for the axis * - * Since: 3.94 + * Since: 3.24 **/ gboolean gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, @@ -202,6 +202,8 @@ gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, * signals. * * Returns: #TRUE if there is a current value for the axes + * + * Since: 3.24 **/ gboolean gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, @@ -253,6 +255,8 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, * signals. * * Returns: (nullable) (transfer none): The current stylus tool + * + * Since: 3.24 **/ GdkDeviceTool * gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture) diff --git a/gtk/gtkgesturestylus.h b/gtk/gtkgesturestylus.h index c45fd8a8b5..9e39c35ad6 100644 --- a/gtk/gtkgesturestylus.h +++ b/gtk/gtkgesturestylus.h @@ -37,21 +37,21 @@ G_BEGIN_DECLS typedef struct _GtkGestureStylus GtkGestureStylus; typedef struct _GtkGestureStylusClass GtkGestureStylusClass; -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_3_24 GType gtk_gesture_stylus_get_type (void) G_GNUC_CONST; -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_3_24 GtkGesture * gtk_gesture_stylus_new (GtkWidget *widget); -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_3_24 gboolean gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, GdkAxisUse axis, gdouble *value); -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_3_24 gboolean gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, GdkAxisUse axes[], gdouble **values); -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_3_24 GdkDeviceTool * gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture); G_END_DECLS |