]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Properties with NoAccessorMethod return heap-allocated structs
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 9 May 2019 16:51:43 +0000 (18:51 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 16 May 2019 14:50:50 +0000 (16:50 +0200)
tests/objects/properties.vala

index cc5a6d8390dd41c42d42006447f8c2686ba16609..b3fc2c8601be74798526c95b52280d5a4e54e25c 100644 (file)
@@ -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 {