mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Merge branch 'bilelmoussaoui/gi-annotations' into 'master'
g-i: add missing since annotations for 4.2 See merge request GNOME/gtk!3268
This commit is contained in:
commit
87b800c11d
@ -256,7 +256,7 @@ GDK_AVAILABLE_IN_ALL
|
|||||||
const graphene_point_t * gsk_conic_gradient_node_get_center (const GskRenderNode *node) G_GNUC_PURE;
|
const graphene_point_t * gsk_conic_gradient_node_get_center (const GskRenderNode *node) G_GNUC_PURE;
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
float gsk_conic_gradient_node_get_rotation (const GskRenderNode *node) G_GNUC_PURE;
|
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;
|
float gsk_conic_gradient_node_get_angle (const GskRenderNode *node) G_GNUC_PURE;
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
gsize gsk_conic_gradient_node_get_n_color_stops (const GskRenderNode *node) G_GNUC_PURE;
|
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()
|
* angle = 90 - gsk_conic_gradient_node_get_rotation()
|
||||||
*
|
*
|
||||||
* Returns: the angle for the gradient
|
* Returns: the angle for the gradient
|
||||||
|
*
|
||||||
|
* Since: 4.2
|
||||||
*/
|
*/
|
||||||
float
|
float
|
||||||
gsk_conic_gradient_node_get_angle (const GskRenderNode *node)
|
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)
|
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 *
|
GskRenderer *
|
||||||
gsk_ngl_renderer_new (void)
|
gsk_ngl_renderer_new (void)
|
||||||
{
|
{
|
||||||
|
@ -36,9 +36,9 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _GskNglRenderer GskNglRenderer;
|
typedef struct _GskNglRenderer GskNglRenderer;
|
||||||
typedef struct _GskNglRendererClass GskNglRendererClass;
|
typedef struct _GskNglRendererClass GskNglRendererClass;
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_4_2
|
||||||
GType gsk_ngl_renderer_get_type (void) G_GNUC_CONST;
|
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);
|
GskRenderer *gsk_ngl_renderer_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -534,6 +534,8 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
|
|||||||
* emitting it causes the button to animate press then release.
|
* emitting it causes the button to animate press then release.
|
||||||
* Applications should never connect to this signal, but use the
|
* Applications should never connect to this signal, but use the
|
||||||
* #GtkCheckButton::toggled signal.
|
* #GtkCheckButton::toggled signal.
|
||||||
|
*
|
||||||
|
* Since: 4.2
|
||||||
*/
|
*/
|
||||||
signals[ACTIVATE] =
|
signals[ACTIVATE] =
|
||||||
g_signal_new (I_ ("activate"),
|
g_signal_new (I_ ("activate"),
|
||||||
|
Loading…
Reference in New Issue
Block a user