[gtk/bilelmoussaoui/gi-annotations] g-i: add missing since annotations for 4.2
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/gi-annotations] g-i: add missing since annotations for 4.2
- Date: Sun, 7 Mar 2021 15:52:23 +0000 (UTC)
commit 980c51cb5aab78bc7516b464dec6d9900070c47e
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sun Mar 7 16:51:38 2021 +0100
g-i: add missing since annotations for 4.2
gsk/gskrendernodeimpl.c | 2 ++
gsk/ngl/gsknglrenderer.c | 9 +++++++++
gtk/gtkcheckbutton.c | 2 ++
3 files changed, 13 insertions(+)
---
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..4007cca06d 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/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"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]