Add deprecation guard to G_UNICODE_COMBINING_MARK
authorRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 10:59:11 +0000 (12:59 +0200)
committerRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 13:47:24 +0000 (15:47 +0200)
...since it's deprecated now and documented as such.

glib/gunicode.h

index 283b4db..548300c 100644 (file)
@@ -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: