[gtk/wip/baedert/for-master: 8/15] snapshot: Annotate child_bounds parameter of push_repeat as nullable



commit a93745238f867d56b4ea268f269914d25406f725
Author: Timm Bäder <mail baedert org>
Date:   Sat Aug 10 08:43:44 2019 +0200

    snapshot: Annotate child_bounds parameter of push_repeat as nullable

 gtk/gtksnapshot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index 96cbcf2604..8925672f18 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -615,7 +615,8 @@ gtk_snapshot_ensure_identity (GtkSnapshot *snapshot)
  * gtk_snapshot_push_repeat:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds within which to repeat
- * @child_bounds: the bounds of the child
+ * @child_bounds: (nullable): the bounds of the child or %NULL
+ *   to use the full size of the collected child node
  *
  * Creates a node that repeats the child node.
  *


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