Bug 549003 – pango_layout_set_height(): layout should not be cleared
authorBehdad Esfahbod <behdad@gnome.org>
Fri, 22 Aug 2008 16:41:14 +0000 (16:41 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Fri, 22 Aug 2008 16:41:14 +0000 (16:41 +0000)
commit2445e04bc11f0e42b61640f1a4cc54778449400d
tree9b758664bd86fcce92cccc807cc50719382ec494
parent2b7d389184f703db6042a3fe64aad99e4516b05e
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
ChangeLog
pango/pango-layout-private.h
pango/pango-layout.c