]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Exclude nullable simple-type structs from gobject-property support
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 3 Sep 2019 16:29:43 +0000 (18:29 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 3 Sep 2019 21:53:33 +0000 (23:53 +0200)
commit4e695a4e374df741859651f62e9a554f55991aac
tree00b7b61f4b253985361ec1f5efc41cb56b67b70b
parentd4f1dd4104b448dc4ad702d6d64c8361c2adb89c
vala: Exclude nullable simple-type structs from gobject-property support

Defining "bool? { owned get; set; }" in a GObject class resulted in:

  "error: The type `bool' doesn't declare a GValue take function"

Fixes a regression of 3af1cfb3bf6b1d3d4a8116382e6eda702f7335bf and reverts
to the old behavior for nullable simple-type structs.
tests/Makefile.am
tests/objects/property-simple-type-struct-nullable.vala [new file with mode: 0644]
vala/valasemanticanalyzer.vala