Teach gtk-doc about G_GNUC_WARN_UNUSED_RESULT

This commit is contained in:
Matthias Clasen
2011-12-19 07:45:43 -05:00
parent 0971d36e4b
commit 4041349037
3 changed files with 4 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ DOC_MODULE=gio
DOC_MAIN_SGML_FILE=gio-docs.xml
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
--ignore-decorators="G_GNUC_WARN_UNUSED_RESULT"
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=$(top_srcdir)/gio