From 42997327baad7c9ae9090ad2b7410198b5b0fa0e Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 9 May 2019 18:51:43 +0200 Subject: [PATCH] tests: Properties with NoAccessorMethod return heap-allocated structs --- tests/objects/properties.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/objects/properties.vala b/tests/objects/properties.vala index 2e2b2ee05..f50e22fe5 100644 --- a/tests/objects/properties.vala +++ b/tests/objects/properties.vala @@ -8,7 +8,7 @@ public struct RealStruct { public class NonPrivAccess : Object { [NoAccessorMethod] - public RealStruct real_struct { get; set; } + public RealStruct real_struct { owned get; set; } } public class Sample : Object { -- 2.47.2