Commit 8755d884 authored by Matthias Clasen's avatar Matthias Clasen

Remove a lot of Since annotations

4.0 will represent a clean epoch. We don't want to have
lots of noise in the docs about 2.x or 3.x.
parent 010f4e90
...@@ -47,8 +47,6 @@ typedef struct _GdkDeviceTool GdkDeviceTool; ...@@ -47,8 +47,6 @@ typedef struct _GdkDeviceTool GdkDeviceTool;
* *
* Indicates the specific type of tool being used being a tablet. Such as an * Indicates the specific type of tool being used being a tablet. Such as an
* airbrush, pencil, etc. * airbrush, pencil, etc.
*
* Since: 3.22
*/ */
typedef enum { typedef enum {
GDK_DEVICE_TOOL_TYPE_UNKNOWN, GDK_DEVICE_TOOL_TYPE_UNKNOWN,
......
...@@ -1288,8 +1288,6 @@ gdk_display_notify_startup_complete (GdkDisplay *display, ...@@ -1288,8 +1288,6 @@ gdk_display_notify_startup_complete (GdkDisplay *display,
* if no ID has been defined. * if no ID has been defined.
* *
* Returns: the startup notification ID for @display, or %NULL * Returns: the startup notification ID for @display, or %NULL
*
* Since: 4.0
*/ */
const gchar * const gchar *
gdk_display_get_startup_notification_id (GdkDisplay *display) gdk_display_get_startup_notification_id (GdkDisplay *display)
......
...@@ -46,8 +46,6 @@ G_BEGIN_DECLS ...@@ -46,8 +46,6 @@ G_BEGIN_DECLS
* @GDK_DRAG_CANCEL_ERROR: Unspecified error. * @GDK_DRAG_CANCEL_ERROR: Unspecified error.
* *
* Used in #GdkDragContext to the reason of a cancelled DND operation. * Used in #GdkDragContext to the reason of a cancelled DND operation.
*
* Since: 3.20
*/ */
typedef enum { typedef enum {
GDK_DRAG_CANCEL_NO_TARGET, GDK_DRAG_CANCEL_NO_TARGET,
......
...@@ -2504,8 +2504,6 @@ gdk_event_get_axes (GdkEvent *event, ...@@ -2504,8 +2504,6 @@ gdk_event_get_axes (GdkEvent *event,
* *
* Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list * Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list
* of time and coordinates * of time and coordinates
*
* Since: 3.94
*/ */
GList * GList *
gdk_event_get_motion_history (const GdkEvent *event) gdk_event_get_motion_history (const GdkEvent *event)
......
...@@ -67,8 +67,6 @@ G_BEGIN_DECLS ...@@ -67,8 +67,6 @@ G_BEGIN_DECLS
* *
* Use this macro as the return value for continuing the propagation of * Use this macro as the return value for continuing the propagation of
* an event handler. * an event handler.
*
* Since: 3.4
*/ */
#define GDK_EVENT_PROPAGATE (FALSE) #define GDK_EVENT_PROPAGATE (FALSE)
...@@ -77,8 +75,6 @@ G_BEGIN_DECLS ...@@ -77,8 +75,6 @@ G_BEGIN_DECLS
* *
* Use this macro as the return value for stopping the propagation of * Use this macro as the return value for stopping the propagation of
* an event handler. * an event handler.
*
* Since: 3.4
*/ */
#define GDK_EVENT_STOP (TRUE) #define GDK_EVENT_STOP (TRUE)
...@@ -87,8 +83,6 @@ G_BEGIN_DECLS ...@@ -87,8 +83,6 @@ G_BEGIN_DECLS
* *
* The primary button. This is typically the left mouse button, or the * The primary button. This is typically the left mouse button, or the
* right button in a left-handed setup. * right button in a left-handed setup.
*
* Since: 3.4
*/ */
#define GDK_BUTTON_PRIMARY (1) #define GDK_BUTTON_PRIMARY (1)
...@@ -96,8 +90,6 @@ G_BEGIN_DECLS ...@@ -96,8 +90,6 @@ G_BEGIN_DECLS
* GDK_BUTTON_MIDDLE: * GDK_BUTTON_MIDDLE:
* *
* The middle button. * The middle button.
*
* Since: 3.4
*/ */
#define GDK_BUTTON_MIDDLE (2) #define GDK_BUTTON_MIDDLE (2)
...@@ -106,8 +98,6 @@ G_BEGIN_DECLS ...@@ -106,8 +98,6 @@ G_BEGIN_DECLS
* *
* The secondary button. This is typically the right mouse button, or the * The secondary button. This is typically the right mouse button, or the
* left button in a left-handed setup. * left button in a left-handed setup.
*
* Since: 3.4
*/ */
#define GDK_BUTTON_SECONDARY (3) #define GDK_BUTTON_SECONDARY (3)
...@@ -291,7 +281,7 @@ typedef enum ...@@ -291,7 +281,7 @@ typedef enum
* @GDK_SCROLL_LEFT: the surface is scrolled to the left. * @GDK_SCROLL_LEFT: the surface is scrolled to the left.
* @GDK_SCROLL_RIGHT: the surface is scrolled to the right. * @GDK_SCROLL_RIGHT: the surface is scrolled to the right.
* @GDK_SCROLL_SMOOTH: the scrolling is determined by the delta values * @GDK_SCROLL_SMOOTH: the scrolling is determined by the delta values
* in scroll events. See gdk_event_get_scroll_deltas(). Since: 3.4 * in scroll events. See gdk_event_get_scroll_deltas()
* *
* Specifies the direction for scroll events. * Specifies the direction for scroll events.
*/ */
......
...@@ -276,7 +276,7 @@ struct _GdkEventScroll ...@@ -276,7 +276,7 @@ struct _GdkEventScroll
* @hardware_keycode: the raw code of the key that was pressed or released. * @hardware_keycode: the raw code of the key that was pressed or released.
* @group: the keyboard group. * @group: the keyboard group.
* @is_modifier: a flag that indicates if @hardware_keycode is mapped to a * @is_modifier: a flag that indicates if @hardware_keycode is mapped to a
* modifier. Since 2.10 * modifier
* *
* Describes a key press or key release event. * Describes a key press or key release event.
*/ */
...@@ -414,8 +414,6 @@ struct _GdkEventProximity ...@@ -414,8 +414,6 @@ struct _GdkEventProximity
* is unmapped), or if the same application grabs the pointer or keyboard * is unmapped), or if the same application grabs the pointer or keyboard
* again. Note that implicit grabs (which are initiated by button presses) * again. Note that implicit grabs (which are initiated by button presses)
* can also cause #GdkEventGrabBroken events. * can also cause #GdkEventGrabBroken events.
*
* Since: 2.8
*/ */
struct _GdkEventGrabBroken { struct _GdkEventGrabBroken {
GdkEventAny any; GdkEventAny any;
...@@ -536,8 +534,6 @@ struct _GdkEventTouchpadPinch { ...@@ -536,8 +534,6 @@ struct _GdkEventTouchpadPinch {
* device may have different current modes. * device may have different current modes.
* *
* Generated during %GDK_SOURCE_TABLET_PAD button presses and releases. * Generated during %GDK_SOURCE_TABLET_PAD button presses and releases.
*
* Since: 3.22
*/ */
struct _GdkEventPadButton { struct _GdkEventPadButton {
GdkEventAny any; GdkEventAny any;
...@@ -562,8 +558,6 @@ struct _GdkEventPadButton { ...@@ -562,8 +558,6 @@ struct _GdkEventPadButton {
* @value: The current value for the given axis. * @value: The current value for the given axis.
* *
* Generated during %GDK_SOURCE_TABLET_PAD interaction with tactile sensors. * Generated during %GDK_SOURCE_TABLET_PAD interaction with tactile sensors.
*
* Since: 3.22
*/ */
struct _GdkEventPadAxis { struct _GdkEventPadAxis {
GdkEventAny any; GdkEventAny any;
...@@ -587,8 +581,6 @@ struct _GdkEventPadAxis { ...@@ -587,8 +581,6 @@ struct _GdkEventPadAxis {
* device may have different current modes. * device may have different current modes.
* *
* Generated during %GDK_SOURCE_TABLET_PAD mode switches in a group. * Generated during %GDK_SOURCE_TABLET_PAD mode switches in a group.
*
* Since: 3.22
*/ */
struct _GdkEventPadGroupMode { struct _GdkEventPadGroupMode {
GdkEventAny any; GdkEventAny any;
......
...@@ -58,8 +58,6 @@ typedef struct _GdkFrameClockClass GdkFrameClockClass; ...@@ -58,8 +58,6 @@ typedef struct _GdkFrameClockClass GdkFrameClockClass;
* #GdkFrameClockPhase is used to represent the different paint clock * #GdkFrameClockPhase is used to represent the different paint clock
* phases that can be requested. The elements of the enumeration * phases that can be requested. The elements of the enumeration
* correspond to the signals of #GdkFrameClock. * correspond to the signals of #GdkFrameClock.
*
* Since: 3.8
**/ **/
typedef enum { typedef enum {
GDK_FRAME_CLOCK_PHASE_NONE = 0, GDK_FRAME_CLOCK_PHASE_NONE = 0,
......
...@@ -50,8 +50,6 @@ typedef struct _GdkMonitorClass GdkMonitorClass; ...@@ -50,8 +50,6 @@ typedef struct _GdkMonitorClass GdkMonitorClass;
* *
* This enumeration describes how the red, green and blue components * This enumeration describes how the red, green and blue components
* of physical pixels on an output device are laid out. * of physical pixels on an output device are laid out.
*
* Since: 3.22
*/ */
typedef enum { typedef enum {
GDK_SUBPIXEL_LAYOUT_UNKNOWN, GDK_SUBPIXEL_LAYOUT_UNKNOWN,
......
...@@ -47,8 +47,6 @@ G_BEGIN_DECLS ...@@ -47,8 +47,6 @@ G_BEGIN_DECLS
* @GDK_SEAT_CAPABILITY_ALL: The union of all capabilities * @GDK_SEAT_CAPABILITY_ALL: The union of all capabilities
* *
* Flags describing the seat capabilities. * Flags describing the seat capabilities.
*
* Since: 3.20
*/ */
typedef enum { typedef enum {
GDK_SEAT_CAPABILITY_NONE = 0, GDK_SEAT_CAPABILITY_NONE = 0,
...@@ -71,8 +69,6 @@ typedef enum { ...@@ -71,8 +69,6 @@ typedef enum {
* grabbed. A typical action would be ensuring the surface is * grabbed. A typical action would be ensuring the surface is
* visible, although there's room for other initialization * visible, although there's room for other initialization
* actions. * actions.
*
* Since: 3.20
*/ */
typedef void (* GdkSeatGrabPrepareFunc) (GdkSeat *seat, typedef void (* GdkSeatGrabPrepareFunc) (GdkSeat *seat,
GdkSurface *surface, GdkSurface *surface,
......
...@@ -47,7 +47,7 @@ typedef struct _GdkGeometry GdkGeometry; ...@@ -47,7 +47,7 @@ typedef struct _GdkGeometry GdkGeometry;
* #GtkMenu) * #GtkMenu)
* @GDK_SURFACE_SUBSURFACE: subsurface; This surface is visually * @GDK_SURFACE_SUBSURFACE: subsurface; This surface is visually
* tied to a toplevel, and is moved/stacked with it. Currently this window * tied to a toplevel, and is moved/stacked with it. Currently this window
* type is only implemented in Wayland. Since 3.14 * type is only implemented in Wayland
* *
* Describes the kind of surface. * Describes the kind of surface.
*/ */
...@@ -215,9 +215,6 @@ typedef enum ...@@ -215,9 +215,6 @@ typedef enum
* *
* In general, when multiple flags are set, flipping should take precedence over * In general, when multiple flags are set, flipping should take precedence over
* sliding, which should take precedence over resizing. * sliding, which should take precedence over resizing.
*
* Since: 3.22
* Stability: Unstable
*/ */
typedef enum typedef enum
{ {
...@@ -264,8 +261,6 @@ typedef enum ...@@ -264,8 +261,6 @@ typedef enum
* *
* Indicates which monitor (in a multi-head setup) a surface should span over * Indicates which monitor (in a multi-head setup) a surface should span over
* when in fullscreen mode. * when in fullscreen mode.
*
* Since: 3.8
**/ **/
typedef enum typedef enum
{ {
...@@ -375,16 +370,15 @@ struct _GdkGeometry ...@@ -375,16 +370,15 @@ struct _GdkGeometry
* @GDK_SURFACE_STATE_ABOVE: the surface is kept above other surfaces. * @GDK_SURFACE_STATE_ABOVE: the surface is kept above other surfaces.
* @GDK_SURFACE_STATE_BELOW: the surface is kept below other surfaces. * @GDK_SURFACE_STATE_BELOW: the surface is kept below other surfaces.
* @GDK_SURFACE_STATE_FOCUSED: the surface is presented as focused (with active decorations). * @GDK_SURFACE_STATE_FOCUSED: the surface is presented as focused (with active decorations).
* @GDK_SURFACE_STATE_TILED: the surface is in a tiled state, Since 3.10. Since 3.91.2, this * @GDK_SURFACE_STATE_TILED: the surface is in a tiled state. Deprecated
* is deprecated in favor of per-edge information. * @GDK_SURFACE_STATE_TOP_TILED: whether the top edge is tiled
* @GDK_SURFACE_STATE_TOP_TILED: whether the top edge is tiled, Since 3.91.2 * @GDK_SURFACE_STATE_TOP_RESIZABLE: whether the top edge is resizable
* @GDK_SURFACE_STATE_TOP_RESIZABLE: whether the top edge is resizable, Since 3.91.2 * @GDK_SURFACE_STATE_RIGHT_TILED: whether the right edge is tiled
* @GDK_SURFACE_STATE_RIGHT_TILED: whether the right edge is tiled, Since 3.91.2 * @GDK_SURFACE_STATE_RIGHT_RESIZABLE: whether the right edge is resizable
* @GDK_SURFACE_STATE_RIGHT_RESIZABLE: whether the right edge is resizable, Since 3.91.2 * @GDK_SURFACE_STATE_BOTTOM_TILED: whether the bottom edge is tiled
* @GDK_SURFACE_STATE_BOTTOM_TILED: whether the bottom edge is tiled, Since 3.91.2 * @GDK_SURFACE_STATE_BOTTOM_RESIZABLE: whether the bottom edge is resizable
* @GDK_SURFACE_STATE_BOTTOM_RESIZABLE: whether the bottom edge is resizable, Since 3.91.2 * @GDK_SURFACE_STATE_LEFT_TILED: whether the left edge is tiled
* @GDK_SURFACE_STATE_LEFT_TILED: whether the left edge is tiled, Since 3.91.2 * @GDK_SURFACE_STATE_LEFT_RESIZABLE: whether the left edge is resizable
* @GDK_SURFACE_STATE_LEFT_RESIZABLE: whether the left edge is resizable, Since 3.91.2
* *
* Specifies the state of a toplevel surface. * Specifies the state of a toplevel surface.
*/ */
......
...@@ -196,9 +196,9 @@ typedef enum ...@@ -196,9 +196,9 @@ typedef enum
* @GDK_MODIFIER_RESERVED_23_MASK: A reserved bit flag; do not use in your own code * @GDK_MODIFIER_RESERVED_23_MASK: A reserved bit flag; do not use in your own code
* @GDK_MODIFIER_RESERVED_24_MASK: A reserved bit flag; do not use in your own code * @GDK_MODIFIER_RESERVED_24_MASK: A reserved bit flag; do not use in your own code
* @GDK_MODIFIER_RESERVED_25_MASK: A reserved bit flag; do not use in your own code * @GDK_MODIFIER_RESERVED_25_MASK: A reserved bit flag; do not use in your own code
* @GDK_SUPER_MASK: the Super modifier. Since 2.10 * @GDK_SUPER_MASK: the Super modifier
* @GDK_HYPER_MASK: the Hyper modifier. Since 2.10 * @GDK_HYPER_MASK: the Hyper modifier
* @GDK_META_MASK: the Meta modifier. Since 2.10 * @GDK_META_MASK: the Meta modifier
* @GDK_MODIFIER_RESERVED_29_MASK: A reserved bit flag; do not use in your own code * @GDK_MODIFIER_RESERVED_29_MASK: A reserved bit flag; do not use in your own code
* @GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate * @GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate
* between (keyval, modifiers) pairs from key press and release events. * between (keyval, modifiers) pairs from key press and release events.
...@@ -210,7 +210,7 @@ typedef enum ...@@ -210,7 +210,7 @@ typedef enum
* *
* Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. * Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.
* *
* Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped * GDK recognizes which of the Meta, Super or Hyper keys are mapped
* to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK, * to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK,
* %GDK_HYPER_MASK or %GDK_META_MASK in the state field of key events. * %GDK_HYPER_MASK or %GDK_META_MASK in the state field of key events.
* *
...@@ -299,8 +299,6 @@ typedef enum ...@@ -299,8 +299,6 @@ typedef enum
* invoking menu shortcuts (accelerators), whereas on Apple computers * invoking menu shortcuts (accelerators), whereas on Apple computers
* it’s the Command key (which correspond to %GDK_CONTROL_MASK and * it’s the Command key (which correspond to %GDK_CONTROL_MASK and
* %GDK_MOD2_MASK, respectively). * %GDK_MOD2_MASK, respectively).
*
* Since: 3.4
**/ **/
typedef enum typedef enum
{ {
...@@ -322,7 +320,7 @@ typedef enum ...@@ -322,7 +320,7 @@ typedef enum
* @GDK_GRAB_NOT_VIEWABLE: the grab surface or the @confine_to surface are not * @GDK_GRAB_NOT_VIEWABLE: the grab surface or the @confine_to surface are not
* viewable. * viewable.
* @GDK_GRAB_FROZEN: the resource is frozen by an active grab of another client. * @GDK_GRAB_FROZEN: the resource is frozen by an active grab of another client.
* @GDK_GRAB_FAILED: the grab failed for some other reason. Since 3.16 * @GDK_GRAB_FAILED: the grab failed for some other reason
* *
* Returned by gdk_device_grab() to indicate success or the reason for the * Returned by gdk_device_grab() to indicate success or the reason for the
* failure of the grab attempt. * failure of the grab attempt.
...@@ -371,13 +369,12 @@ typedef enum ...@@ -371,13 +369,12 @@ typedef enum
* @GDK_PROPERTY_CHANGE_MASK: receive property change events * @GDK_PROPERTY_CHANGE_MASK: receive property change events
* @GDK_PROXIMITY_IN_MASK: receive proximity in events * @GDK_PROXIMITY_IN_MASK: receive proximity in events
* @GDK_PROXIMITY_OUT_MASK: receive proximity out events * @GDK_PROXIMITY_OUT_MASK: receive proximity out events
* @GDK_SUBSTRUCTURE_MASK: receive events about surface configuration changes of * @GDK_SUBSTRUCTURE_MASK: receive events about surface configuration changes of child surfaces
* child surfaces
* @GDK_SCROLL_MASK: receive scroll events * @GDK_SCROLL_MASK: receive scroll events
* @GDK_TOUCH_MASK: receive touch events. Since 3.4 * @GDK_TOUCH_MASK: receive touch events
* @GDK_SMOOTH_SCROLL_MASK: receive smooth scrolling events. Since 3.4 * @GDK_SMOOTH_SCROLL_MASK: receive smooth scrolling events
@GDK_TOUCHPAD_GESTURE_MASK: receive touchpad gesture events. Since 3.18 @GDK_TOUCHPAD_GESTURE_MASK: receive touchpad gesture events
* @GDK_TABLET_PAD_MASK: receive tablet pad events. Since 3.22 * @GDK_TABLET_PAD_MASK: receive tablet pad events
* @GDK_ALL_EVENTS_MASK: the combination of all the above event masks. * @GDK_ALL_EVENTS_MASK: the combination of all the above event masks.
* *
* A set of bit-flags to indicate which events a surface is to receive. * A set of bit-flags to indicate which events a surface is to receive.
...@@ -387,11 +384,6 @@ typedef enum ...@@ -387,11 +384,6 @@ typedef enum
* See the [input handling overview][chap-input-handling] for details of * See the [input handling overview][chap-input-handling] for details of
* [event masks][event-masks] and [event propagation][event-propagation]. * [event masks][event-masks] and [event propagation][event-propagation].
* *
* Since GTK 3.8, motion events are already compressed by default, independent
* of this mechanism. This compression can be disabled with
* gdk_surface_set_event_compression(). See the documentation of that function
* for details.
*
* If %GDK_TOUCH_MASK is enabled, the surface will receive touch events * If %GDK_TOUCH_MASK is enabled, the surface will receive touch events
* from touch-enabled devices. Those will come as sequences of #GdkEventTouch * from touch-enabled devices. Those will come as sequences of #GdkEventTouch
* with type %GDK_TOUCH_UPDATE, enclosed by two events with * with type %GDK_TOUCH_UPDATE, enclosed by two events with
...@@ -432,12 +424,10 @@ typedef enum ...@@ -432,12 +424,10 @@ typedef enum
* @GDK_GL_ERROR_NOT_AVAILABLE: OpenGL support is not available * @GDK_GL_ERROR_NOT_AVAILABLE: OpenGL support is not available
* @GDK_GL_ERROR_UNSUPPORTED_FORMAT: The requested visual format is not supported * @GDK_GL_ERROR_UNSUPPORTED_FORMAT: The requested visual format is not supported
* @GDK_GL_ERROR_UNSUPPORTED_PROFILE: The requested profile is not supported * @GDK_GL_ERROR_UNSUPPORTED_PROFILE: The requested profile is not supported
* @GDK_GL_ERROR_COMPILATION_FAILED: The shader compilation failed (available since 3.22) * @GDK_GL_ERROR_COMPILATION_FAILED: The shader compilation failed
* @GDK_GL_ERROR_LINK_FAILED: The shader linking failed (available since 3.22) * @GDK_GL_ERROR_LINK_FAILED: The shader linking failed
* *
* Error enumeration for #GdkGLContext. * Error enumeration for #GdkGLContext.
*
* Since: 3.16
*/ */
typedef enum { typedef enum {
GDK_GL_ERROR_NOT_AVAILABLE, GDK_GL_ERROR_NOT_AVAILABLE,
...@@ -454,8 +444,6 @@ typedef enum { ...@@ -454,8 +444,6 @@ typedef enum {
* @GDK_VULKAN_ERROR_NOT_AVAILABLE: Vulkan support is not available on this Surface * @GDK_VULKAN_ERROR_NOT_AVAILABLE: Vulkan support is not available on this Surface
* *
* Error enumeration for #GdkVulkanContext. * Error enumeration for #GdkVulkanContext.
*
* Since: 3.90
*/ */
typedef enum { typedef enum {
GDK_VULKAN_ERROR_UNSUPPORTED, GDK_VULKAN_ERROR_UNSUPPORTED,
...@@ -519,9 +507,9 @@ typedef enum ...@@ -519,9 +507,9 @@ typedef enum
* @GDK_AXIS_XTILT: the axis is used for x tilt information. * @GDK_AXIS_XTILT: the axis is used for x tilt information.
* @GDK_AXIS_YTILT: the axis is used for y tilt information. * @GDK_AXIS_YTILT: the axis is used for y tilt information.
* @GDK_AXIS_WHEEL: the axis is used for wheel information. * @GDK_AXIS_WHEEL: the axis is used for wheel information.
* @GDK_AXIS_DISTANCE: the axis is used for pen/tablet distance information. (Since: 3.22) * @GDK_AXIS_DISTANCE: the axis is used for pen/tablet distance information
* @GDK_AXIS_ROTATION: the axis is used for pen rotation information. (Since: 3.22) * @GDK_AXIS_ROTATION: the axis is used for pen rotation information
* @GDK_AXIS_SLIDER: the axis is used for pen slider information. (Since: 3.22) * @GDK_AXIS_SLIDER: the axis is used for pen slider information
* @GDK_AXIS_LAST: a constant equal to the numerically highest axis value. * @GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
* *
* An enumeration describing the way in which a device * An enumeration describing the way in which a device
...@@ -560,8 +548,6 @@ typedef enum ...@@ -560,8 +548,6 @@ typedef enum
* @GDK_AXIS_FLAG_SLIDER: Slider axis is present * @GDK_AXIS_FLAG_SLIDER: Slider axis is present
* *
* Flags describing the current capabilities of a device/tool. * Flags describing the current capabilities of a device/tool.
*
* Since: 3.22
*/ */
typedef enum typedef enum
{ {
......
...@@ -857,8 +857,6 @@ gdk_wayland_display_get_next_serial (GdkDisplay *display) ...@@ -857,8 +857,6 @@ gdk_wayland_display_get_next_serial (GdkDisplay *display)
* if no ID has been defined. * if no ID has been defined.
* *
* Returns: the startup notification ID for @display, or %NULL * Returns: the startup notification ID for @display, or %NULL
*
* Since: 4.0
*/ */
const gchar * const gchar *
gdk_wayland_display_get_startup_notification_id (GdkDisplay *display) gdk_wayland_display_get_startup_notification_id (GdkDisplay *display)
......
...@@ -48,8 +48,6 @@ ...@@ -48,8 +48,6 @@
* @GSK_OFFSET_NODE: A node that renders its child after applying a 2D translation * @GSK_OFFSET_NODE: A node that renders its child after applying a 2D translation
* *
* The type of a node determines what the node is rendering. * The type of a node determines what the node is rendering.
*
* Since: 3.90
**/ **/
typedef enum { typedef enum {
GSK_NOT_A_RENDER_NODE = 0, GSK_NOT_A_RENDER_NODE = 0,
...@@ -89,8 +87,6 @@ typedef enum { ...@@ -89,8 +87,6 @@ typedef enum {
* *
* The actual implementation of each filter is deferred to the * The actual implementation of each filter is deferred to the
* rendering pipeline. * rendering pipeline.
*
* Since: 3.90
*/ */
typedef enum { typedef enum {
GSK_SCALING_FILTER_LINEAR, GSK_SCALING_FILTER_LINEAR,
...@@ -122,8 +118,6 @@ typedef enum { ...@@ -122,8 +118,6 @@ typedef enum {
* *
* The implementation of each blend mode is deferred to the * The implementation of each blend mode is deferred to the
* rendering pipeline. * rendering pipeline.
*
* Since: 3.90
*/ */
typedef enum { typedef enum {
GSK_BLEND_MODE_DEFAULT = 0, GSK_BLEND_MODE_DEFAULT = 0,
......
...@@ -36,8 +36,6 @@ G_BEGIN_DECLS ...@@ -36,8 +36,6 @@ G_BEGIN_DECLS
* *
* Initializes a #GskRoundedRect when declaring it. * Initializes a #GskRoundedRect when declaring it.
* All corner sizes will be initialized to 0. * All corner sizes will be initialized to 0.
*
* Since: 3.90
*/ */
#define GSK_ROUNDED_RECT_INIT(_x,_y,_w,_h) (GskRoundedRect) { .bounds = GRAPHENE_RECT_INIT(_x,_y,_w,_h), \ #define GSK_ROUNDED_RECT_INIT(_x,_y,_w,_h) (GskRoundedRect) { .bounds = GRAPHENE_RECT_INIT(_x,_y,_w,_h), \
.corner = { \ .corner = { \
...@@ -60,8 +58,6 @@ G_BEGIN_DECLS ...@@ -60,8 +58,6 @@ G_BEGIN_DECLS
* All functions taking a #GskRoundedRect as an argument will internally operate on * All functions taking a #GskRoundedRect as an argument will internally operate on
* a normalized copy; all functions returning a #GskRoundedRect will always return * a normalized copy; all functions returning a #GskRoundedRect will always return
* a normalized one. * a normalized one.
*
* Since: 3.90
*/ */
typedef struct _GskRoundedRect GskRoundedRect; typedef struct _GskRoundedRect GskRoundedRect;
......
...@@ -694,8 +694,6 @@ gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, ...@@ -694,8 +694,6 @@ gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group,
* Removes an accelerator previously installed through * Removes an accelerator previously installed through
* gtk_accel_group_connect(). * gtk_accel_group_connect().
* *
* Since 2.20 @closure can be %NULL.
*
* Returns: %TRUE if the closure was found and got disconnected * Returns: %TRUE if the closure was found and got disconnected
*/ */
gboolean gboolean
......
...@@ -80,11 +80,11 @@ struct _GtkButtonBoxClass ...@@ -80,11 +80,11 @@ struct _GtkButtonBoxClass
* (on the left for a HBox, or the top for a VBox). * (on the left for a HBox, or the top for a VBox).
* @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box, * @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box,
* (on the right for a HBox, or the bottom for a VBox). * (on the right for a HBox, or the bottom for a VBox).
* @GTK_BUTTONBOX_CENTER: Buttons are centered in the box. Since 2.12. * @GTK_BUTTONBOX_CENTER: Buttons are centered in the box
* @GTK_BUTTONBOX_EXPAND: Buttons expand to fill the box. This entails giving * @GTK_BUTTONBOX_EXPAND: Buttons expand to fill the box. This entails giving
* buttons a "linked" appearance, making button sizes homogeneous, and * buttons a "linked" appearance, making button sizes homogeneous, and
* setting spacing to 0 (same as calling gtk_box_set_homogeneous() and * setting spacing to 0 (same as calling gtk_box_set_homogeneous() and
* gtk_box_set_spacing() manually). Since 3.12. * gtk_box_set_spacing() manually)
* *
* Used to dictate the style that a #GtkButtonBox uses to layout the buttons it * Used to dictate the style that a #GtkButtonBox uses to layout the buttons it
* contains. * contains.
......
...@@ -356,8 +356,6 @@ gtk_cell_area_context_get_area (GtkCellAreaContext *context) ...@@ -356,8 +356,6 @@ gtk_cell_area_context_get_area (GtkCellAreaContext *context)
* in the allocated width necessitates a recalculation * in the allocated width necessitates a recalculation
* of all the displayed row heights using * of all the displayed row heights using
* gtk_cell_area_get_preferred_height_for_width(). * gtk_cell_area_get_preferred_height_for_width().
*
* Since 3.0
*/ */
void void
gtk_cell_area_context_reset (GtkCellAreaContext *context) gtk_cell_area_context_reset (GtkCellAreaContext *context)
...@@ -385,8 +383,6 @@ gtk_cell_area_context_reset (GtkCellAreaContext *context) ...@@ -385,8 +383,6 @@ gtk_cell_area_context_reset (GtkCellAreaContext *context)
* and vertical orientations producing a homogeneous effect of the * and vertical orientations producing a homogeneous effect of the
* rows. This is generally the case for #GtkTreeView when * rows. This is generally the case for #GtkTreeView when
* #GtkTreeView:fixed-height-mode is enabled. * #GtkTreeView:fixed-height-mode is enabled.
*
* Since 3.0
*/ */
void void
gtk_cell_area_context_allocate (GtkCellAreaContext *context, gtk_cell_area_context_allocate (GtkCellAreaContext *context,
......
...@@ -35,8 +35,8 @@ G_BEGIN_DECLS ...@@ -35,8 +35,8 @@ G_BEGIN_DECLS
* @GTK_CELL_RENDERER_INSENSITIVE: The cell is drawn in an insensitive manner * @GTK_CELL_RENDERER_INSENSITIVE: The cell is drawn in an insensitive manner
* @GTK_CELL_RENDERER_SORTED: The cell is in a sorted row * @GTK_CELL_RENDERER_SORTED: The cell is in a sorted row
* @GTK_CELL_RENDERER_FOCUSED: The cell is in the focus row. * @GTK_CELL_RENDERER_FOCUSED: The cell is in the focus row.
* @GTK_CELL_RENDERER_EXPANDABLE: The cell is in a row that can be expanded. Since 3.4 * @GTK_CELL_RENDERER_EXPANDABLE: The cell is in a row that can be expanded
* @GTK_CELL_RENDERER_EXPANDED: The cell is in a row that is expanded. Since 3.4 * @GTK_CELL_RENDERER_EXPANDED: The cell is in a row that is expanded
* *
* Tells how a cell is to be rendered. * Tells how a cell is to be rendered.
*/ */
......
...@@ -539,8 +539,6 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) ...@@ -539,8 +539,6 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
* *
* The text that will be displayed in the #GtkCellRenderer if * The text that will be displayed in the #GtkCellRenderer if
* #GtkCellRendererText:editable is %TRUE and the cell is empty. * #GtkCellRendererText:editable is %TRUE and the cell is empty.
*
* Since 3.6
*/ */
text_cell_renderer_props[PROP_PLACEHOLDER_TEXT] = text_cell_renderer_props[PROP_PLACEHOLDER_TEXT] =
g_param_spec_string ("placeholder-text", g_param_spec_string ("placeholder-text",
......
...@@ -113,11 +113,11 @@ ...@@ -113,11 +113,11 @@
* a <packing> element for children, which can contain multiple <property> * a <packing> element for children, which can contain multiple <property>
* elements that specify child properties for the child. * elements that specify child properties for the child.
* *
* Since 2.16, child properties can also be marked as translatable using * Child properties can also be marked as translatable using
* the same “translatable”, “comments” and “context” attributes that are used * the same “translatable”, “comments” and “context” attributes that are used
* for regular properties. * for regular properties.
* *
* Since 3.16, containers can have a <focus-chain> element containing multiple * Containers can have a <focus-chain> element containing multiple
* <widget> elements, one for each child that should be added to the focus * <widget> elements, one for each child that should be added to the focus
* chain. The ”name” attribute gives the id of the widget. * chain. The ”name” attribute gives the id of the widget.
* *
......
...@@ -41,7 +41,7 @@ G_BEGIN_DECLS ...@@ -41,7 +41,7 @@ G_BEGIN_DECLS
* a CSS variable. * a CSS variable.
* @GTK_CSS_SECTION_VALUE: The section defines the value of a CSS declaration. * @GTK_CSS_SECTION_VALUE: The section defines the value of a CSS declaration.
* @GTK_CSS_SECTION_KEYFRAMES: The section defines keyframes. See [CSS * @GTK_CSS_SECTION_KEYFRAMES: The section defines keyframes. See [CSS
* Animations](http://dev.w3.org/csswg/css3-animations/#keyframes) for details. Since 3.6 * Animations](http://dev.w3.org/csswg/css3-animations/#keyframes) for details
* *
* The different types of sections indicate parts of a CSS document as * The different types of sections indicate parts of a CSS document as
* parsed by GTK’s CSS parser. They are oriented towards the * parsed by GTK’s CSS parser. They are oriented towards the
......
...@@ -40,7 +40,7 @@ G_BEGIN_DECLS ...@@ -40,7 +40,7 @@ G_BEGIN_DECLS
* @GTK_DIALOG_DESTROY_WITH_PARENT: Destroy the dialog when its * @GTK_DIALOG_DESTROY_WITH_PARENT: Destroy the dialog when its
* parent is destroyed, see gtk_window_set_destroy_with_parent() * parent is destroyed, see gtk_window_set_destroy_with_parent()
* @GTK_DIALOG_USE_HEADER_BAR: Create dialog with actions in header * @GTK_DIALOG_USE_HEADER_BAR: Create dialog with actions in header
* bar instead of action area. Since 3.12. * bar instead of action area
* *
* Flags used to influence dialog construction. * Flags used to influence dialog construction.
*/ */
......
...@@ -99,12 +99,12 @@ ...@@ -99,12 +99,12 @@
* In this mode, entered text is displayed using a “invisible” character. * In this mode, entered text is displayed using a “invisible” character.
* By default, GTK+ picks the best invisible character that is available * By default, GTK+ picks the best invisible character that is available
* in the current font, but it can be changed with * in the current font, but it can be changed with
* gtk_entry_set_invisible_char(). Since 2.16, GTK+ displays a warning * gtk_entry_set_invisible_char(). GTK+ displays a warning
* when Caps Lock or input methods might interfere with entering text in * when Caps Lock or input methods might interfere with entering text in
* a password entry. The warning can be turned off with the * a password entry. The warning can be turned off with the
* #GtkEntry:caps-lock-warning property. * #GtkEntry:caps-lock-warning property.
* *
* Since 2.16, GtkEntry has the ability to display progress or activity * GtkEntry has the ability to display progress or activity
* information behind the text. To make an entry display such information, * information behind the text. To make an entry display such information,
* use gtk_entry_set_progress_fraction() or gtk_entry_set_progress_pulse_step(). * use gtk_entry_set_progress_fraction() or gtk_entry_set_progress_pulse_step().
* *
......
...@@ -51,7 +51,7 @@ G_BEGIN_DECLS ...@@ -51,7 +51,7 @@ G_BEGIN_DECLS
* or top * or top
* @GTK_ALIGN_CENTER: center natural width of widget inside the * @GTK_ALIGN_CENTER: center natural width of widget inside the
* allocation * allocation
* @GTK_ALIGN_BASELINE: align the widget according to the baseline. Since 3.10. * @GTK_ALIGN_BASELINE: align the widget according to the baseline
* *
* Controls how a widget deals with extra space in a single (x or y) * Controls how a widget deals with extra space in a single (x or y)
* dimension. * dimension.
...@@ -85,7 +85,7 @@ typedef enum ...@@ -85,7 +85,7 @@ typedef enum
* @GTK_ARROW_DOWN: Represents a downward pointing arrow. * @GTK_ARROW_DOWN: Represents a downward pointing arrow.
* @GTK_ARROW_LEFT: Represents a left pointing arrow. * @GTK_ARROW_LEFT: Represents a left pointing arrow.
* @GTK_ARROW_RIGHT: Represents a right pointing arrow. * @GTK_ARROW_RIGHT: Represents a right pointing arrow.
* @GTK_ARROW_NONE: No arrow. Since 2.10. * @GTK_ARROW_NONE: No arrow.
* *
* Used to indicate the direction in which an arrow should point. * Used to indicate the direction in which an arrow should point.
*/ */
...@@ -912,9 +912,9 @@ typedef enum ...@@ -912,9 +912,9 @@ typedef enum