]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Use g_object_class_override_property to implement generic interface properties
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 13 Mar 2023 08:13:34 +0000 (09:13 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 20 Mar 2023 08:55:01 +0000 (09:55 +0100)
commit5ad36c3e8c48d7b3725526b09b466918a8f210fc
tree45a971ccceb29bd64f7b2567d80f99b3d2a8cd50
parent65b758370094788910ffb498079f234d623a24e0
codegen: Use g_object_class_override_property to implement generic interface properties

This caused the criticals like:

    GLib-GObject-CRITICAL **: Read/writable property 'data' on class 'Foo' has type
    'gchararray' which is not exactly equal to the type 'gpointer' of the property on
    the interface 'IFoo'

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1419
codegen/valagobjectmodule.vala
tests/Makefile.am
tests/generics/interface-property-impl.c-expected [new file with mode: 0644]
tests/generics/interface-property-impl.vala [new file with mode: 0644]