summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2012-12-29 13:36:33 -0800
committerJohn Ralls <jralls@ceridwen.us>2012-12-29 13:36:33 -0800
commit8c1a6ef147edceb05921bb892d620bdced277662 (patch)
tree58e6db3b0914ec10858c395c2f5438b6cb164180 /pango/pango-font.h
parent7ed3cb89923c376d8b30ae3f977ab9e1a231e430 (diff)
downloadpango-8c1a6ef147edceb05921bb892d620bdced277662.tar.gz
Revert "Make PANGO_GLYPH flags an enum to make gobject-introspection happy."
This reverts commit 7274bd56db3ce2f02594687a307d22aa99c787c4. Whatever the problem was with g-ir-scanner, it's resolved.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 3d7aeb97..eea27b4e 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -374,12 +374,10 @@ struct _PangoFontClass
#define PANGO_UNKNOWN_GLYPH_HEIGHT 14
#endif /* PANGO_ENABLE_BACKEND */
-enum
-{
- PANGO_GLYPH_EMPTY = ((PangoGlyph)0x0FFFFFFF),
- PANGO_GLYPH_INVALID_INPUT = ((PangoGlyph)0xFFFFFFFF),
- PANGO_GLYPH_UNKNOWN_FLAG = ((PangoGlyph)0x10000000)
-};
+
+#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
+#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
+#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
#define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)