diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 88fa4241e6..def26f97d6 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -256,7 +256,7 @@ GDK_AVAILABLE_IN_ALL const graphene_point_t * gsk_conic_gradient_node_get_center (const GskRenderNode *node) G_GNUC_PURE; GDK_AVAILABLE_IN_ALL float gsk_conic_gradient_node_get_rotation (const GskRenderNode *node) G_GNUC_PURE; -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_4_2 float gsk_conic_gradient_node_get_angle (const GskRenderNode *node) G_GNUC_PURE; GDK_AVAILABLE_IN_ALL gsize gsk_conic_gradient_node_get_n_color_stops (const GskRenderNode *node) G_GNUC_PURE; diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index 896dfc6566..bab387cc2c 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -1115,6 +1115,8 @@ gsk_conic_gradient_node_get_rotation (const GskRenderNode *node) * angle = 90 - gsk_conic_gradient_node_get_rotation() * * Returns: the angle for the gradient + * + * Since: 4.2 */ float gsk_conic_gradient_node_get_angle (const GskRenderNode *node) diff --git a/gsk/ngl/gsknglrenderer.c b/gsk/ngl/gsknglrenderer.c index c20660f09e..66edc98d5d 100644 --- a/gsk/ngl/gsknglrenderer.c +++ b/gsk/ngl/gsknglrenderer.c @@ -63,6 +63,15 @@ struct _GskNglRenderer G_DEFINE_TYPE (GskNglRenderer, gsk_ngl_renderer, GSK_TYPE_RENDERER) +/** + * gsk_ngl_renderer_new: + * + * Creates a new #GskRenderer using the new OpenGL renderer. + * + * Returns: a new NGL renderer + * + * Since: 4.2 + */ GskRenderer * gsk_ngl_renderer_new (void) { diff --git a/gsk/ngl/gsknglrenderer.h b/gsk/ngl/gsknglrenderer.h index 014c7755c8..aa33f22533 100644 --- a/gsk/ngl/gsknglrenderer.h +++ b/gsk/ngl/gsknglrenderer.h @@ -36,9 +36,9 @@ G_BEGIN_DECLS typedef struct _GskNglRenderer GskNglRenderer; typedef struct _GskNglRendererClass GskNglRendererClass; -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_4_2 GType gsk_ngl_renderer_get_type (void) G_GNUC_CONST; -GDK_AVAILABLE_IN_ALL +GDK_AVAILABLE_IN_4_2 GskRenderer *gsk_ngl_renderer_new (void); G_END_DECLS diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 0ce5d1ae0f..750e27d075 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -534,6 +534,8 @@ gtk_check_button_class_init (GtkCheckButtonClass *class) * emitting it causes the button to animate press then release. * Applications should never connect to this signal, but use the * #GtkCheckButton::toggled signal. + * + * Since: 4.2 */ signals[ACTIVATE] = g_signal_new (I_ ("activate"),