Details

[Home]

Issue of the Standard # D0083

Brief

Misprint in the description of the parameter 'type_id' for the interface g_type_register_fundamental

Detailed Description

Description of the parameter 'type_id' for the interface g_type_register_fundamental states:

type_id : A predefined GTypeFundamentals value.

Whereas the enum GTypeFundamentals was removed earlier, according to the following record in the glib ChangeLog:

Sun Nov 25 22:33:32 2001  Tim Janik  
    * gtype.h: removed enum GTypeFundamentals. use macros
    to provide the constant fundamental type IDs, so they
    all return numbers of type GType, and not int.
    sizeof(GTypeFundamentals) < sizeof(GType) problem reported
    and fix sugegsted by Havoc.

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.5.1 glib-2.0/glib-object.h; http://www.gtk.org/api/2.6/gobject/gobject-Type-Information.html#g-type-register-fundamental

Possible solutions

It is proposed to modify the documentation in the following way:

type_id : A predefined type identifier.

Accepted

Gnome Bugzilla 528717

Status

Fixed in glib 2.18

[Home]