GNOME Bugzilla – Bug 624139
C code from overriding Clutter.Actor.allocate produces warning
Last modified: 2018-05-22 13:41:41 UTC
Created attachment 165711 [details] Test case (vala 0.8.0-0ubuntu1) STR: Subclass Clutter.Actor Override the allocate method with: public override void allocate (ActorBox box, AllocationFlags flags) Compile class Result: produces warning in C code warning: assignment from incompatible pointer type static void test_class_init (TestClass * klass) { test_parent_class = g_type_class_peek_parent (klass); CLUTTER_ACTOR_CLASS (klass)->allocate = test_real_allocate; // <-- Here } Compile test case with: valac Test.vala --pkg clutter-1.0 --save-temps
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/120.