Mark gsk_rounded_clip_node_new() return value as (transfer full)
authorSebastian Dröge <sebastian@centricular.com>
Wed, 10 Aug 2022 08:07:51 +0000 (11:07 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 10 Aug 2022 08:07:51 +0000 (11:07 +0300)
Like all the other constructors for nodes already do. Without this,
newly created rounded clip nodes are leaked in bindings.

gsk/gskrendernodeimpl.c

index 175c45884805e527fdd7a63df1658eecd53fc63a..c43a4636c1561863d558364a100c3e75507ede7b 100644 (file)
@@ -3752,7 +3752,7 @@ gsk_rounded_clip_node_diff (GskRenderNode  *node1,
  * Creates a `GskRenderNode` that will clip the @child to the area
  * given by @clip.
  *
- * Returns: (transfer none) (type GskRoundedClipNode): A new `GskRenderNode`
+ * Returns: (transfer full) (type GskRoundedClipNode): A new `GskRenderNode`
  */
 GskRenderNode *
 gsk_rounded_clip_node_new (GskRenderNode         *child,