Fix up version annotations

The new api here was introduced in 3.24.
This commit is contained in:
Matthias Clasen 2018-07-18 07:18:21 -04:00
parent ee22277f18
commit affb4ff5f4
6 changed files with 20 additions and 16 deletions

View File

@ -232,7 +232,7 @@ gtk_event_controller_key_set_im_context (GtkEventControllerKey *controller,
* *
* Returns: (transfer none): the IM context * Returns: (transfer none): the IM context
* *
* Since: 3.94 * Since: 3.24
**/ **/
GtkIMContext * GtkIMContext *
gtk_event_controller_key_get_im_context (GtkEventControllerKey *controller) gtk_event_controller_key_get_im_context (GtkEventControllerKey *controller)

View File

@ -26,7 +26,7 @@
* #GtkEventControllerMotion is an event controller meant for situations * #GtkEventControllerMotion is an event controller meant for situations
* where you need to track the position of the pointer. * 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" #include "config.h"
@ -156,7 +156,7 @@ gtk_event_controller_motion_init (GtkEventControllerMotion *motion)
* *
* Returns: a new #GtkEventControllerMotion * Returns: a new #GtkEventControllerMotion
* *
* Since: 3.94 * Since: 3.24
**/ **/
GtkEventController * GtkEventController *
gtk_event_controller_motion_new (GtkWidget *widget) gtk_event_controller_motion_new (GtkWidget *widget)

View File

@ -56,7 +56,7 @@
* with two X/Y velocity arguments that are consistent with the motion that * with two X/Y velocity arguments that are consistent with the motion that
* was received. * was received.
* *
* This object was added in 3.93. * This object was added in 3.24.
**/ **/
#include "config.h" #include "config.h"
@ -367,7 +367,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
* *
* The flags affecting event controller behavior * The flags affecting event controller behavior
* *
* Since: 3.93 * Since: 3.24
**/ **/
pspecs[PROP_FLAGS] = pspecs[PROP_FLAGS] =
g_param_spec_flags ("flags", g_param_spec_flags ("flags",
@ -461,7 +461,7 @@ gtk_event_controller_scroll_init (GtkEventControllerScroll *scroll)
* *
* Returns: a new #GtkEventControllerScroll * Returns: a new #GtkEventControllerScroll
* *
* Since: 3.93 * Since: 3.24
**/ **/
GtkEventController * GtkEventController *
gtk_event_controller_scroll_new (GtkWidget *widget, 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. * Sets the flags conditioning scroll controller behavior.
* *
* Since: 3.93 * Since: 3.24
**/ **/
void void
gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll, gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll,
@ -505,7 +505,7 @@ gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll,
* *
* Returns: the controller flags. * Returns: the controller flags.
* *
* Since: 3.93 * Since: 3.24
**/ **/
GtkEventControllerScrollFlags GtkEventControllerScrollFlags
gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll) gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll)

View File

@ -51,7 +51,7 @@ typedef struct _GtkEventControllerScrollClass GtkEventControllerScrollClass;
* *
* Describes the behavior of a #GtkEventControllerScroll. * Describes the behavior of a #GtkEventControllerScroll.
* *
* Since: 3.93 * Since: 3.24
**/ **/
typedef enum { typedef enum {
GTK_EVENT_CONTROLLER_SCROLL_NONE = 0, GTK_EVENT_CONTROLLER_SCROLL_NONE = 0,

View File

@ -137,7 +137,7 @@ gtk_gesture_stylus_init (GtkGestureStylus *gesture)
* *
* Returns: a newly created stylus gesture * Returns: a newly created stylus gesture
* *
* Since: 3.94 * Since: 3.24
**/ **/
GtkGesture * GtkGesture *
gtk_gesture_stylus_new (GtkWidget *widget) 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 * Returns: #TRUE if there is a current value for the axis
* *
* Since: 3.94 * Since: 3.24
**/ **/
gboolean gboolean
gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture,
@ -202,6 +202,8 @@ gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture,
* signals. * signals.
* *
* Returns: #TRUE if there is a current value for the axes * Returns: #TRUE if there is a current value for the axes
*
* Since: 3.24
**/ **/
gboolean gboolean
gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture,
@ -253,6 +255,8 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture,
* signals. * signals.
* *
* Returns: (nullable) (transfer none): The current stylus tool * Returns: (nullable) (transfer none): The current stylus tool
*
* Since: 3.24
**/ **/
GdkDeviceTool * GdkDeviceTool *
gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture) gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture)

View File

@ -37,21 +37,21 @@ G_BEGIN_DECLS
typedef struct _GtkGestureStylus GtkGestureStylus; typedef struct _GtkGestureStylus GtkGestureStylus;
typedef struct _GtkGestureStylusClass GtkGestureStylusClass; typedef struct _GtkGestureStylusClass GtkGestureStylusClass;
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_3_24
GType gtk_gesture_stylus_get_type (void) G_GNUC_CONST; 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); GtkGesture * gtk_gesture_stylus_new (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_3_24
gboolean gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, gboolean gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture,
GdkAxisUse axis, GdkAxisUse axis,
gdouble *value); gdouble *value);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_3_24
gboolean gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, gboolean gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture,
GdkAxisUse axes[], GdkAxisUse axes[],
gdouble **values); gdouble **values);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_3_24
GdkDeviceTool * gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture); GdkDeviceTool * gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture);
G_END_DECLS G_END_DECLS