Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gobject-introspection
gobject-introspection
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 227
    • Issues 227
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 18
    • Merge Requests 18
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gobject-introspectiongobject-introspection
  • Issues
  • #125

Closed
Open
Opened Mar 05, 2015 by bugzilla-migration@bugzilla-migrationReporter

Allow to specify element-type for GLib.List and GLib.HashTable aliases

Submitted by Corentin Noël @tintou

Link to original bug (#745699)

Description

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

So as this type is made to contain only SignonSecurityContext, I'd like to specify the element-type attribute

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gobject-introspection#125