[gtk: 1/2] Mark gsk_rounded_clip_node_new() return value as (transfer full)
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] Mark gsk_rounded_clip_node_new() return value as (transfer full)
- Date: Wed, 10 Aug 2022 09:23:03 +0000 (UTC)
commit 0cc2d5559ba89a2ccf1f9ce44361611c89b58660
Author: Sebastian Dröge <sebastian centricular com>
Date: Wed Aug 10 11:07:51 2022 +0300
Mark gsk_rounded_clip_node_new() return value as (transfer full)
Like all the other constructors for nodes already do. Without this,
newly created rounded clip nodes are leaked in bindings.
gsk/gskrendernodeimpl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index 175c458848..c43a4636c1 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]