diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-08-22 16:41:14 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-08-22 16:41:14 +0000 |
commit | 2445e04bc11f0e42b61640f1a4cc54778449400d (patch) | |
tree | 9b758664bd86fcce92cccc807cc50719382ec494 /pango/pango-layout-private.h | |
parent | 2b7d389184f703db6042a3fe64aad99e4516b05e (diff) | |
download | pango-2445e04bc11f0e42b61640f1a4cc54778449400d.tar.gz |
Bug 549003 – pango_layout_set_height(): layout should not be cleared
2008-08-22 Behdad Esfahbod <behdad@gnome.org>
Bug 549003 – pango_layout_set_height(): layout should not be cleared
unless required
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init),
(pango_layout_set_height), (pango_layout_get_line_count),
(pango_layout_clear_lines), (add_line):
Don't invalidate layout if the new height does not force
ellipsization.
svn path=/trunk/; revision=2707
Diffstat (limited to 'pango/pango-layout-private.h')
-rw-r--r-- | pango/pango-layout-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout-private.h b/pango/pango-layout-private.h index f82c589c..99d0efbc 100644 --- a/pango/pango-layout-private.h +++ b/pango/pango-layout-private.h @@ -73,6 +73,7 @@ struct _PangoLayout PangoTabArray *tabs; GSList *lines; + guint line_count; /* Number of lines in @lines. 0 if lines is %NULL */ }; gboolean _pango_layout_line_ellipsize (PangoLayoutLine *line, |