]> 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>
Tue, 6 Aug 2019 11:49:48 +0000 (13:49 +0200)
tests/objects/properties.vala

index 2e2b2ee059cd5b1983c6927c1346ff913ff9db63..f50e22fe57861b7265cfb68cce0f514e74e3d0e9 100644 (file)
@@ -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 {