[glib] Add deprecation guard to G_UNICODE_COMBINING_MARK



commit 668c399077b48ef49d2fdb6eb808226c9f127e70
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Jul 22 12:59:11 2011 +0200

    Add deprecation guard to G_UNICODE_COMBINING_MARK
    
    ...since it's deprecated now and documented as such.

 glib/gunicode.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/gunicode.h b/glib/gunicode.h
index 283b4db..548300c 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -156,7 +156,9 @@ typedef enum
  *
  * Deprecated: 2.30: Use %G_UNICODE_SPACING_MARK.
  */
+#ifndef G_DISABLE_DEPRECATED
 #define G_UNICODE_COMBINING_MARK G_UNICODE_SPACING_MARK
+#endif
 
 /**
  * GUnicodeBreakType:



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