[vala/0.40] valadoc/tests: construct properties require GLib.Object derived class
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] valadoc/tests: construct properties require GLib.Object derived class
- Date: Mon, 5 Aug 2019 11:38:00 +0000 (UTC)
commit 1bf40300daf42a075580bda0d65eeb89f0d43e5e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Apr 28 09:25:23 2019 +0200
valadoc/tests: construct properties require GLib.Object derived class
valadoc/tests/drivers/api-test.data.vapi | 4 ++--
valadoc/tests/drivers/generic-api-test.vala | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/valadoc/tests/drivers/api-test.data.vapi b/valadoc/tests/drivers/api-test.data.vapi
index 1fdb500c7..788a6bab6 100644
--- a/valadoc/tests/drivers/api-test.data.vapi
+++ b/valadoc/tests/drivers/api-test.data.vapi
@@ -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; construct set; }
+ public int 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; construct set; }
+ public int property_3 { owned get; set; }
public delegate int Foo ();
public signal int sig_1 ();
}
diff --git a/valadoc/tests/drivers/generic-api-test.vala b/valadoc/tests/drivers/generic-api-test.vala
index 3650e72de..9c98833c3 100644
--- a/valadoc/tests/drivers/generic-api-test.vala
+++ b/valadoc/tests/drivers/generic-api-test.vala
@@ -641,7 +641,7 @@ public static void test_class_global (Api.Class? cl, Api.Package pkg, Api.Namesp
assert (property.setter.get_cname () == "test_class_global_set_property_3");
- assert (property.setter.is_construct == true);
+ assert (property.setter.is_construct == false);
assert (property.setter.is_get == false);
assert (property.setter.is_set == true);
assert (property.setter.is_owned == false);
@@ -1053,7 +1053,7 @@ public static void test_interface_global (Api.Interface? iface, Api.Package pkg,
assert (property.setter.get_cname () == "test_interface_global_set_property_3");
- assert (property.setter.is_construct == true);
+ assert (property.setter.is_construct == false);
assert (property.setter.is_get == false);
assert (property.setter.is_set == true);
assert (property.setter.is_owned == false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]