]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Include "glib.h" for deprecated symbols (GOBJECT)
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Mar 2021 11:41:24 +0000 (12:41 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Mar 2021 11:41:24 +0000 (12:41 +0100)
commit4a1922d32df236daa2dfdf3cbb834c9c70fcfbf8
tree82c95866a31b4f1c7ec692cec3ea15c82b92644c
parentcc14f00ee1c6fa66020208543df3132cfaaf748f
codegen: Include "glib.h" for deprecated symbols (GOBJECT)

It is required for G_GNUC_DEPRECATED in declarations of
enums, delegates, methods, property accessors and structs.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1155
codegen/valaccodebasemodule.vala
codegen/valaccodedelegatemodule.vala
codegen/valaccodemethodmodule.vala
codegen/valaccodestructmodule.vala
tests/Makefile.am
tests/annotations/deprecated-delegate-minimal.vala [new file with mode: 0644]
tests/annotations/deprecated-enum-minimal.vala [new file with mode: 0644]
tests/annotations/deprecated-method-minimal.vala [new file with mode: 0644]
tests/annotations/deprecated-property-minimal.vala [new file with mode: 0644]
tests/annotations/deprecated-struct-minimal.vala [new file with mode: 0644]