GNOME Bugzilla – Bug 654399
Clutter Stage get_default returns an Actor not a Stage
Last modified: 2018-05-22 14:05:40 UTC
Created attachment 191727 [details] [review] vapi : fix clutter stage get_default return type Clutter Stage get_default returns an Actor not a Stage. Patch to fix the vapi.
Clutter.Stage.get_default returns a Clutter.Stage, it's correct as it is according to the C documentation. It returns this using the C type `ClutterActor *`, but that's an implementation detail from the Vala point of view. To avoid the C warning due to the type mismatch, the CCode.type attribute should be set.
Requires a little more work as setting CCode.type to methods (not creation methods) is a no-op.
-- 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/214.