[gtk+] Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT



commit 19c5b5c9d696bced151293283f64e5ecdf74c62f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 19 07:32:32 2011 -0500

    Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT

 docs/reference/gdk/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gdk/Makefile.am b/docs/reference/gdk/Makefile.am
index e73c955..a5bcc76 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]