From 19c5b5c9d696bced151293283f64e5ecdf74c62f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Dec 2011 07:32:32 -0500 Subject: [PATCH] Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT --- docs/reference/gdk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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