Skip to content

GitLab

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

Closed
Open
Opened Dec 19, 2009 by bugzilla-migration@bugzilla-migrationReporter

improve boxed types support

Submitted by Yeti

Link to original bug (#605025)

Description

  1. Boxed types are inspectable enough to appear as derived from GBoxed in the hierarchy so they should be there.

  2. The current handling of MY_TYPE_FOO and my_foo_get_type() for boxed types is to dump them both in the section file with --rebuild-sections and to let people do anything if they don't rebuild sections. This means e.g in GLib MY_TYPE_FOO tends to be listed, wheres Gtk+ docs do not indicate whether a plain old data type is available as boxed or not.

MY_TYPE_FOO and my_foo_get_type() for boxed types probably should be put to <SUBSECTION Standard> when generating the section file.

  1. Once they are excluded it would be nice to insert `MyFoo implements/is derived from/provides/is available as/... GBoxed' somewhere automatically. Or added small hierarchy GBoxed -> MyFoo as is done for objects. Not sure how to implement either.

  2. Boxed types can be defined in different place than the original type. E.g. G_TYPE_HASH_TABLE is defined in gobject because, obviously, it cannot go into glib. Not sure what to do in this case.

Version: 1.13

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gtk-doc#10