mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
g-i: add missing since annotations for 4.2
This commit is contained in:
parent
5fd22e5981
commit
6e903e13a5
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user