summaryrefslogtreecommitdiff
path: root/vala/valapropertyaccessor.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-10-02 15:01:07 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-10-03 15:14:33 +0200
commit2e6f652e868aa3c3f6be53f6cafd484ffb39b4bd (patch)
tree26f3b43f8b0537c278587320feeb59b87d79774d /vala/valapropertyaccessor.vala
parentbab871f3a10c124465db5c47f1815bacd99e728f (diff)
downloadvala-2e6f652e868aa3c3f6be53f6cafd484ffb39b4bd.tar.gz
codegen: Support gobject property of delegates not carrying their target
Properly evaluate given delegate_target attribute on properties to create the expected API. Fixes https://gitlab.gnome.org/GNOME/vala/issues/856
Diffstat (limited to 'vala/valapropertyaccessor.vala')
-rw-r--r--vala/valapropertyaccessor.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valapropertyaccessor.vala b/vala/valapropertyaccessor.vala
index 553777afb..18ea71466 100644
--- a/vala/valapropertyaccessor.vala
+++ b/vala/valapropertyaccessor.vala
@@ -159,6 +159,7 @@ public class Vala.PropertyAccessor : Subroutine {
// Inherit important atttributes
value_parameter.copy_attribute_bool (prop, "CCode", "array_length");
value_parameter.copy_attribute_bool (prop, "CCode", "array_null_terminated");
+ value_parameter.copy_attribute_bool (prop, "CCode", "delegate_target");
}
if (context.profile == Profile.GOBJECT