summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-12-19 07:32:32 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-12-19 07:32:32 -0500
commit19c5b5c9d696bced151293283f64e5ecdf74c62f (patch)
treed0012c763df967677cf6693a331f119dc5a69a1b /docs
parent5913e88febaa6967805a0dabc250381f77d60013 (diff)
downloadgtk+-19c5b5c9d696bced151293283f64e5ecdf74c62f.tar.gz
Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gdk/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/reference/gdk/Makefile.am b/docs/reference/gdk/Makefile.am
index e73c955421..a5bcc768d2 100644
--- a/docs/reference/gdk/Makefile.am
+++ b/docs/reference/gdk/Makefile.am
@@ -9,7 +9,8 @@ DOC_MODULE=gdk3
DOC_MAIN_SGML_FILE=gdk-docs.sgml
# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="GDK_ENABLE_BROKEN|GDK_DISABLE_DEPRECATED"
+SCAN_OPTIONS=--deprecated-guards=GDK_DISABLE_DEPRECATED \
+ --ignore-decorators=G_GNUC_WARN_UNUSED_RESULT
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=$(top_srcdir)/gdk $(top_srcdir)/gdk/x11