summaryrefslogtreecommitdiff
path: root/pango/pango-item.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-20 17:41:35 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-20 17:41:35 +0000
commit145d6710e7d808fb6ef9925b82176e8703b1fe5d (patch)
tree6d1ed01ca9ab6993a91ca2bd8fe25865be5ff63d /pango/pango-item.h
parentd322697a49454149462de0c96f69541fca478d39 (diff)
downloadpango-145d6710e7d808fb6ef9925b82176e8703b1fe5d.tar.gz
Bug 351496 – PangoAnalysis::gravity breaks binary compatibility
2006-08-20 Behdad Esfahbod <behdad@gnome.org> Bug 351496 – PangoAnalysis::gravity breaks binary compatibility * pango/pango-item.h (PangoAnalysis): Use bitfields for level.
Diffstat (limited to 'pango/pango-item.h')
-rw-r--r--pango/pango-item.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/pango/pango-item.h b/pango/pango-item.h
index 638bc0d1..cf9bfe84 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -35,10 +35,9 @@ struct _PangoAnalysis
PangoEngineLang *lang_engine;
PangoFont *font;
- guint8 level;
- /* nastiest hack ever. stuff new items in the padding after the guint8 */
- PangoGravity gravity : 8;
- gboolean centered_baseline : 1;
+ guint level : 8;
+ guint gravity : 3; /* PangoGravity */
+ guint centered_baseline : 1; /* gboolean */
PangoLanguage *language;
GSList *extra_attrs;