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 745699 - Allow to specify element-type for GLib.List and GLib.HashTable aliases
Allow to specify element-type for GLib.List and GLib.HashTable aliases
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: libgirepository
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-03-05 18:56 UTC by Corentin Noël
Modified: 2018-02-08 12:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Corentin Noël 2015-03-05 18:56:41 UTC
I have a type named SignonSecurityContextList that is quite simple:

/**
 * SignonSecurityContextList: (element-type SignonSecurityContext)
 *
 * GList of #SignonSecurityContext items.
 */
typedef GList SignonSecurityContextList;


But when I try to generate the .vapi file, vapigen returns :

gSignon-1.0.gir:55.37-55.37: error: too few type arguments
      <type name="GLib.List" c:type="GList"/>

So as this type is made to contain only SignonSecurityContext, I'd like to specify the element-type attribute
Comment 1 GNOME Infrastructure Team 2018-02-08 12:33:10 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/125.