[gtk-doc] Use GLIB_DEPRECATED as a prefix

commit f2b6b940967f3db15d6cc9696cf296305cf3dfa1
Author: Martin Pitt <martinpitt gnome org>
Date:   Tue Jan 15 11:17:46 2013 +0100

    Use GLIB_DEPRECATED as a prefix
    GLIB_DEPRECATED is meant to be a prefix of a function declaration, not a
    suffix. Fixes build failure if it contains "extern" in its expansion.

 tests/bugs/src/tester.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 01372e7..6dc2ee9 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -480,6 +480,7 @@ void bug_624001d(void);
-void bug_624001e (void) GLIB_DEPRECATED;
+void bug_624001e (void);
 #endif // GTKDOC_TESTER_H

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