[gtk+/wip/baedert/children: 27/37] snapshot: Add annotations to parameters/return values



commit 80dd9e299d5d06c5740dac4b05fbbe83ea747509
Author: Timm Bäder <mail baedert org>
Date:   Thu Dec 1 10:19:24 2016 +0100

    snapshot: Add annotations to parameters/return values

 gtk/gtksnapshot.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index 5ec1d56..a037e72 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -141,7 +141,7 @@ gtk_snapshot_push_node (GtkSnapshot   *snapshot,
  * gtk_snapshot_push:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds for the new node
- * @name: a printf() style format string for the name for the new node
+ * @name: (transfer none): a printf() style format string for the name for the new node
  * @...: arguments to insert into the format string
  *
  * Creates a new render node, appends it to the current render
@@ -211,7 +211,7 @@ gtk_snapshot_pop (GtkSnapshot *snapshot)
  * Obtains the #GskRenderer that this snapshot will be
  * rendered with.
  *
- * Returns: the #GskRenderer
+ * Returns: (transfer none): the #GskRenderer
  *
  * Since: 3.90
  */
@@ -319,7 +319,7 @@ gtk_snapshot_append_node (GtkSnapshot   *snapshot,
  * gtk_snapshot_append:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds for the new node
- * @name: a printf() style format string for the name for the new node
+ * @name: (transfer none): a printf() style format string for the name for the new node
  * @...: arguments to insert into the format string
  *
  * Creates a new render node and appends it to the current render
@@ -327,7 +327,7 @@ gtk_snapshot_append_node (GtkSnapshot   *snapshot,
  *
  * Since: 3.90
  *
- * Returns: the newly created #GskRenderNode
+ * Returns: (transfer full): the newly created #GskRenderNode
  */
 GskRenderNode *
 gtk_snapshot_append (GtkSnapshot           *snapshot,
@@ -366,7 +366,7 @@ gtk_snapshot_append (GtkSnapshot           *snapshot,
  * gtk_snapshot_append_cairo_node:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds for the new node
- * @name: a printf() style format string for the name for the new node
+ * @name: (transfer none): a printf() style format string for the name for the new node
  * @...: arguments to insert into the format string
  *
  * Creates a new render node and appends it to the current render
@@ -415,7 +415,7 @@ gtk_snapshot_append_cairo_node (GtkSnapshot           *snapshot,
  * gtk_snapshot_push_cairo_node:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds for the new node
- * @name: a printf() style format string for the name for the new node
+ * @name: (transfer none): a printf() style format string for the name for the new node
  * @...: arguments to insert into the format string
  *
  * Creates a new render node, appends it to the current render


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