[gtk+] snapshot: Fix some annoations
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] snapshot: Fix some annoations
- Date: Wed, 21 Dec 2016 17:17:23 +0000 (UTC)
commit a571e534912fc22ee63570f9685170f7dde4c562
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Dec 21 18:16:34 2016 +0100
snapshot: Fix some annoations
gtk/gtksnapshot.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index 9c9161b..d85a43d 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -165,7 +165,6 @@ gtk_snapshot_finish (GtkSnapshot *snapshot)
* @keep_coordinates: If %TRUE, the current offset and clip will be kept.
* Otherwise, the clip will be unset and the offset will be reset to
* (0, 0).
- * @bounds: the bounds 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
*
@@ -540,7 +539,7 @@ gtk_snapshot_push_shadow (GtkSnapshot *snapshot,
* Removes the top element from the stack of render nodes,
* making the node underneath the current node again.
*
- * Returns: (transfer full) (allow none): A #GskRenderNode for
+ * Returns: (transfer full) (nullable): A #GskRenderNode for
* the contents that were rendered to @snapshot since
* the corresponding gtk_snapshot_push() call
*
@@ -632,8 +631,8 @@ gtk_snapshot_translate_2d (GtkSnapshot *snapshot,
/**
* gtk_snapshot_get_offset:
* @snapshot: a #GtkSnapshot
- * @x: (out allow-none): return location for x offset
- * @y: (out allow-none): return location for y offset
+ * @x: (out) (optional): return location for x offset
+ * @y: (out) (optional): return location for y offset
*
* Queries the offset managed by @snapshot. This offset is the
* accumulated sum of calls to gtk_snapshot_translate_2d().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]