After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654399 - Clutter Stage get_default returns an Actor not a Stage
Clutter Stage get_default returns an Actor not a Stage
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: GObject Introspection
0.13.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-11 14:10 UTC by Alban Browaeys
Modified: 2018-05-22 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vapi : fix clutter stage get_default return type (919 bytes, patch)
2011-07-11 14:10 UTC, Alban Browaeys
none Details | Review

Description Alban Browaeys 2011-07-11 14:10:43 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.
Comment 1 Jürg Billeter 2011-07-11 14:51:45 UTC
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.
Comment 2 Luca Bruno 2011-07-11 18:07:59 UTC
Requires a little more work as setting CCode.type to methods (not creation methods) is a no-op.
Comment 3 GNOME Infrastructure Team 2018-05-22 14:05:40 UTC
-- 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.