]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
valadoc/tests: Use type for property which is compatible with owned getter
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 10 Oct 2019 09:13:08 +0000 (11:13 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 14 Oct 2019 07:43:30 +0000 (09:43 +0200)
valadoc/tests/drivers/api-test.data.vapi

index c23ca2979d57c1fdcf5fc36830c9b290797cfa50..ec791b4620d762dced55b03fb480f19bf2d82d0f 100644 (file)
@@ -57,7 +57,7 @@ public class TestClassGlobal {
        public static void static_method ();
        public int property_1 { get; set; }
        public int property_2 { get; }
-       public int property_3 { owned get; set; }
+       public string property_3 { owned get; set; }
        public delegate int Foo ();
        public signal int sig_1 ();
 }
@@ -70,7 +70,7 @@ public interface TestInterfaceGlobal {
        public static void static_method ();
        public int property_1 { get; set; }
        public int property_2 { get; }
-       public int property_3 { owned get; set; }
+       public string property_3 { owned get; set; }
        public delegate int Foo ();
        public signal int sig_1 ();
 }
@@ -87,7 +87,7 @@ public struct TestStructGlobal {
        public const int constant;
        public int property_1 { get; set; }
        public int property_2 { get; }
-       public int property_3 { owned get; set; }
+       public string property_3 { owned get; set; }
 }