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 642626 - No way to annotate a boxed type
No way to annotate a boxed type
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-scanner
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-02-17 21:47 UTC by Olivier Crête
Modified: 2018-02-08 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2011-02-17 21:47:51 UTC
gi should be able to describe the content of a boxed type. It would then be unnecessary to annotate every GObject property that uses this type. Also would make it work with gjs which completely ignores annotations on properties. Also, since the boxed type includes a copy function, the level of "transfer" is fixed for a specific boxed type.

My use case is a GList of a struct.. I have a boxed type for the struct and the GList of struct. In one case, the property is declared inside a plugin, so I can't easily annotate it from the property itself (since there is no way to get the typelib from a GType). So it would be much easier if I could just annotate the type and have it "just work".
Comment 1 André Klapper 2015-02-07 17:15:32 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 GNOME Infrastructure Team 2018-02-08 12:03:37 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/gobject-introspection/issues/45.