Index: tests/bugs/src/tester.h
===================================================================
--- tests/bugs/src/tester.h	(revisione 699)
+++ tests/bugs/src/tester.h	(copia locale)
@@ -182,7 +182,11 @@
                 bug_554833_new (void);
 
 
-int bug_574654a(void) G_GNUC_CONST;
+#ifndef GTKDOC_DECORATOR_TO_IGNORE
+#define GTKDOC_DECORATOR_TO_IGNORE G_GNUC_CONST
+#endif
+
+int bug_574654a(void) GTKDOC_DECORATOR_TO_IGNORE;
 void bug_574654b(double offset);
 
 
Index: tests/bugs/docs/Makefile.am
===================================================================
--- tests/bugs/docs/Makefile.am	(revisione 699)
+++ tests/bugs/docs/Makefile.am	(copia locale)
@@ -19,7 +19,7 @@
 
 # Extra options to supply to gtkdoc-scan.
 SCAN_OPTIONS=--deprecated-guards="GTKDOC_TESTER_DISABLE_DEPRECATED" \
-  --ignore-decorators="GLIB_VAR|G_GNUC_CONST" \
+  --ignore-decorators="GLIB_VAR|G_GNUC_CONST|GTKDOC_DECORATOR_TO_IGNORE" \
   2>&1 | tee gtkdoc-scan.log
 
 # Extra options to supply to gtkdoc-mkdb.
