From d50c3271c735be78580b311694f1815345601169 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 cc5a6d839..b3fc2c860 100644 --- a/tests/objects/properties.vala +++ b/tests/objects/properties.vala @@ -9,7 +9,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