[gtk-doc] tests: Add an enumeration value with DEPRECATED in its name



commit f5daece2d1c9f2dfd4514e7c1ead111df6de140a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Jun 27 12:33:58 2014 +0100

    tests: Add an enumeration value with DEPRECATED in its name
    
    This should not mean that the enumeration is deprecated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730658

 tests/bugs/docs/tester-sections.txt |    1 +
 tests/bugs/src/tester.h             |   15 +++++++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index 9066551..45a56b3 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -75,5 +75,6 @@ GLIB_DEPRECATED
 BUG_711598_DEPRECATED_FOR
 bug_554833_new
 BUG_731417_DEPRECATED
+Bug730658
 </SECTION>
 
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index ee9a72e..f75badf 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -505,4 +505,19 @@ void deprecation_notice(void);
  */
 #define BUG_731417_DEPRECATED   1
 
+/**
+ * Bug730658:
+ * @BUG_730658_CAN_READ: Can read
+ * @BUG_730658_CAN_WRITE: Can write
+ * @BUG_730658_IS_DEPRECATED: Is deprecated
+ *
+ * https://bugzilla.gnome.org/show_bug.cgi?id=730658
+ */
+typedef enum
+{
+  BUG_730658_CAN_READ = 1 << 0,
+  BUG_730658_CAN_WRITE = 1 << 1,
+  BUG_730658_IS_DEPRECATED = 1 << 2
+} Bug730658;
+
 #endif // GTKDOC_TESTER_H


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