summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2012-11-12 19:38:30 -0800
committerJohn Ralls <jralls@ceridwen.us>2012-11-15 10:01:38 +0900
commit7274bd56db3ce2f02594687a307d22aa99c787c4 (patch)
tree7267e602ddb73f92d06643034736de5de6f46f76 /pango/pango-font.h
parent3ca4601eca20b1d295a2f7145e05167c83a55120 (diff)
downloadpango-7274bd56db3ce2f02594687a307d22aa99c787c4.tar.gz
Make PANGO_GLYPH flags an enum to make gobject-introspection happy.
See bug 688356
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index eea27b4e..ce1a4212 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -374,10 +374,12 @@ struct _PangoFontClass
#define PANGO_UNKNOWN_GLYPH_HEIGHT 14
#endif /* PANGO_ENABLE_BACKEND */
-
-#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
-#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
-#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
+enum
+{
+ PANGO_GLYPH_EMPTY = ((PangoGlyph)0x0FFFFFFF),
+ PANGO_GLYPH_INVALID_INPUT = ((PangoGlyph)0xFFFFFFFF),
+ PANGO_GLYPH_UNKNOWN_FLAG = ((PangoGlyph)0x10000000),
+};
#define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)