GNOME Bugzilla – Bug 526103
The G_TYPE_CHECK_CLASS_TYPE() macro does not emit a warning if a class structure is not of the expected type
Last modified: 2008-06-10 12:08:12 UTC
According to the specification of the macro G_TYPE_CHECK_CLASS_TYPE() "Returns TRUE if g_class is a class structure of the type identified by g_type. Otherwise emits a warning and returns FALSE." Whenever class structure type does not match the type id, passed in for a second parameter, the warning is not get emitted. The detailed bug description can be found at: http://linuxtesting.org/results/report?num=D0078
Created attachment 108590 [details] The test case reproducing the bug
Thanks, this is a documentation bug and has been fixed in SVN: 2008-06-10 14:06:34 Tim Janik <timj@imendio.com> * gobject/tmpl/gtype.sgml: fixed documentation regarding type checking macros that do and do not issue warnings.