Skip to content

Move the gtkunixprint.h include in the gtk-doc stanza

Emmanuele Bassi requested to merge issue-1746 into gtk-3-24

Every time a new directive is used inside a gtk-doc sections.txt file it overrides the current include header until the next directive. This has the unfortunate effect of making every single section following the print-related ones to generate documentation that says to include gtkunixprint.h.

In order to avoid re-arranging the gtk3-sections.txt file, we can tell gtk-doc what's the default header to include for GTK, and override it using @Include directives directly into the gtk-doc stanzas of the sections that require a different header.

Fixes: #1746 (closed)

Merge request reports