From b895d225346084dd9bd167c39ae1f3e2c2526252 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 15 Jun 2011 11:29:48 -0400 Subject: [PATCH] Revert "layout: Make sure all lines are ellipsized" This reverts commit 00d2842d8a5ded059fc058d05b2cffcf16186710. --- pango/pango-layout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 4e21e25..40f92fa 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -5220,7 +5220,8 @@ pango_layout_line_postprocess (PangoLayoutLine *line, /* Ellipsize the line if necessary */ - if (G_UNLIKELY (state->line_width >= 0 && line->layout->ellipsize)) + if (G_UNLIKELY (state->line_width >= 0 && + should_ellipsize_current_line (line->layout, state))) { ellipsized = _pango_layout_line_ellipsize (line, state->attrs, state->line_width); } -- 2.7.4