Bug 397337 – Use is_ellipsized and is_wrapped to optimize property
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 16 Jan 2007 20:44:05 +0000 (20:44 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 16 Jan 2007 20:44:05 +0000 (20:44 +0000)
commite1181d9a4c6f49586dfb96a837cde2846cbbb06e
tree367017a182ec4ff080222623dc34d70ede98d400
parent5d65122f8a714e04b05c52947cedaab090345d37
Bug 397337 – Use is_ellipsized and is_wrapped to optimize property

2007-01-16  Behdad Esfahbod  <behdad@gnome.org>

        Bug 397337 – Use is_ellipsized and is_wrapped to optimize property
        changes

        * pango/pango-layout.c (pango_layout_set_wrap),
        (pango_layout_set_ellipsize): Using is_ellipsized and is_wrapped,
        only clear lines if wrap/ellipsize change has any effect on the lines.

svn path=/trunk/; revision=2168
ChangeLog
pango/pango-layout.c