Frequently asked questions

Fråga: No class hierarchy.

Svar: The objects xxx_get_type() function has not been entered into the <package>.types file.

Fråga: Still no class hierarchy.

Svar: Missing or wrong naming in <package>-sections.txt file (see förklaring).

Fråga: Damn, I have still no class hierarchy.

Svar: Is the object name (name of the instance struct, e.g. GtkWidget) part of the normal section (don't put this into Standard or Private subsections).

Fråga: No symbol index.

Svar: Does the <package>-docs.{xml,sgml} contain a index that xi:includes the generated index?

Fråga: Symbols are not linked to their doc-section.

Svar: Is the doc-comment using the correct markup (added #,% or ())? Check if the gtkdoc-fixxref warns about unresolvable xrefs.

Fråga: A new class does not appear in the docs.

Svar: Is the new page xi:included from <package>-docs.{xml,sgml}.

Fråga: A new symbol does not appear in the docs.

Svar: Is the doc-comment properly formatted. Check for spelling mistakes in the begin of the comment. Check if the gtkdoc-fixxref warns about unresolvable xrefs. Check if the symbol is correctly listed in the <package>-sections.txt in a public subsection.

Fråga: A type is missing from the class hierarchy.

Svar: If the type is listed in <package>.hierarchy but not in xml/tree_index.sgml then double check that the type is correctly placed in the <package>-sections.txt. If the type instance (e.g. GtkWidget) is not listed or incidentialy makred private it will not be shown.

Fråga: I get foldoc links for all gobject annotations.

Svar: Check that xml/annotation-glossary.xml is xi:included from <package>-docs.{xml,sgml}.

Fråga: Parameter described in source code comment block but does not exist

Svar: Check if the prototype in the header has different parameter names as in the source.

Fråga: multiple "IDs" for constraint linkend: XYZ

Svar: Symbol XYZ appears twice in <package>-sections.txt file.

Fråga: Element typename in namespace '' encountered in para, but no template matches.

Svar: