[layout] Truncate final whitespace in the line before ellipsizing
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 6 Apr 2009 23:49:02 +0000 (19:49 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 7 Apr 2009 02:32:37 +0000 (22:32 -0400)
commitdd6ce709db5872132335fef9f75aa16a33d6e5aa
tree325cbe38e6420fd26e1a1cf85551eb8a3f403b49
parentb6b9a22500c3e760f7c05d6c1fd62ff1529dee1b
[layout] Truncate final whitespace in the line before ellipsizing

Bug 556132 – gnome-panel crashed with SIGSEGV in
g_cclosure_marshal_VOID__BOXED()

Not after.  Also fixes invalid memory access in case line was both
wrapped and ellipsized.
pango/pango-layout.c