]> 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>
Thu, 18 Mar 2021 09:14:08 +0000 (10:14 +0100)
commitb420931212f3019424e9d6065d627a3a0e96ee0f
tree563b1273069afb225ba3f5c6bdcc7c7c4e6c70db
parentfa9ce43f437e35f61173146674eb2ba76f99781d
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]