diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-08-20 17:41:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-08-20 17:41:35 +0000 |
commit | 145d6710e7d808fb6ef9925b82176e8703b1fe5d (patch) | |
tree | 6d1ed01ca9ab6993a91ca2bd8fe25865be5ff63d | |
parent | d322697a49454149462de0c96f69541fca478d39 (diff) | |
download | pango-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pango/pango-item.h | 7 | ||||
-rw-r--r-- | pango/pango-layout.h | 2 |
3 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2006-08-20 Behdad Esfahbod <behdad@gnome.org> + + Bug 351496 – PangoAnalysis::gravity breaks binary compatibility + + * pango/pango-item.h (PangoAnalysis): Use bitfields for level. + 2006-08-17 Hans Breuer <hans@breuer.org> * pango/makefile.msc pango/pango.def : updated 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; diff --git a/pango/pango-layout.h b/pango/pango-layout.h index 06db0244..563c6839 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -75,7 +75,7 @@ struct _PangoLayoutLine gint length; /* length of line in bytes */ GSList *runs; guint is_paragraph_start : 1; /* TRUE if this is the first line of the paragraph */ - guint resolved_dir : 3; /* Resolved direction of line */ + guint resolved_dir : 3; /* Resolved PangoDirection of line */ }; #define PANGO_TYPE_LAYOUT (pango_layout_get_type ()) |