[gtk/bilelmoussaoui/missing-since-annotations: 2/2] g-i: add missing since 4.6 annotations




commit 7e09c2bd2dbe86702469c03a97878991c9237821
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Thu Oct 21 14:56:15 2021 +0100

    g-i: add missing since 4.6 annotations

 gdk/gdktexture.c           | 2 ++
 gsk/gskrendernode.c        | 8 ++++++++
 gtk/gtkenums.h             | 2 ++
 gtk/gtksymbolicpaintable.c | 4 ++++
 4 files changed, 16 insertions(+)
---
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c
index e5b68ee5c3..b9f35999a7 100644
--- a/gdk/gdktexture.c
+++ b/gdk/gdktexture.c
@@ -616,6 +616,8 @@ gdk_texture_new_from_bytes (GBytes  *bytes,
  * while loading a big image.
  *
  * Return value: A newly-created `GdkTexture`
+ *
+ * Since: 4.6
  */
 GdkTexture *
 gdk_texture_new_from_filename (const char  *path,
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index 6381d334d8..ab15da7a99 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -629,6 +629,8 @@ gsk_render_node_deserialize (GBytes            *bytes,
  * Stores the given `GskRenderNode` inside `value`.
  *
  * The `GValue` will acquire a reference to the `node`.
+ *
+ * Since: 4.6
  */
 void
 gsk_value_set_render_node (GValue        *value,
@@ -663,6 +665,8 @@ gsk_value_set_render_node (GValue        *value,
  * Stores the given `GskRenderNode` inside `value`.
  *
  * This function transfers the ownership of the `node` to the `GValue`.
+ *
+ * Since: 4.6
  */
 void
 gsk_value_take_render_node (GValue        *value,
@@ -696,6 +700,8 @@ gsk_value_take_render_node (GValue        *value,
  * Retrieves the `GskRenderNode` stored inside the given `value`.
  *
  * Returns: (transfer none) (nullable): a `GskRenderNode`
+ *
+ * Since: 4.6
  */
 GskRenderNode *
 gsk_value_get_render_node (const GValue *value)
@@ -713,6 +719,8 @@ gsk_value_get_render_node (const GValue *value)
  * a reference to it.
  *
  * Returns: (transfer full) (nullable): a `GskRenderNode`
+ *
+ * Since: 4.6
  */
 GskRenderNode *
 gsk_value_dup_render_node (const GValue *value)
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 0dbae71726..d6bc12d14f 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1142,6 +1142,8 @@ typedef enum {
  * [vfunc.GtkSymbolicPaintable.snapshot_symbolic].
  *
  * More values may be added over time.
+ *
+ * Since: 4.6
  */
 typedef enum {
   GTK_SYMBOLIC_COLOR_FOREGROUND = 0,
diff --git a/gtk/gtksymbolicpaintable.c b/gtk/gtksymbolicpaintable.c
index 61bc19ab80..057be29742 100644
--- a/gtk/gtksymbolicpaintable.c
+++ b/gtk/gtksymbolicpaintable.c
@@ -38,6 +38,8 @@
  * and success information in that order.
  *
  * More colors may be added in the future.
+ *
+ * Since: 4.6
  */
 
 G_DEFINE_INTERFACE (GtkSymbolicPaintable, gtk_symbolic_paintable, GDK_TYPE_PAINTABLE)
@@ -72,6 +74,8 @@ gtk_symbolic_paintable_default_init (GtkSymbolicPaintableInterface *iface)
  *
  * If less than 4 colors are provided, GTK will pad the array with default
  * colors.
+ *
+ * Since: 4.6
  */
 void
 gtk_symbolic_paintable_snapshot_symbolic (GtkSymbolicPaintable   *paintable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]