[clutter-text] Fix ellipsizing
authorNeil Roberts <neil@linux.intel.com>
Wed, 15 Apr 2009 13:46:45 +0000 (14:46 +0100)
committerNeil Roberts <neil@linux.intel.com>
Wed, 15 Apr 2009 13:46:45 +0000 (14:46 +0100)
commitfbd9c59c7cb7901ec208d05416454a68c7329cfd
tree624a68a6ea4271c93a197cca44c4ae5d0d7f5f0a
parentd7ce56bb465735599de825d1545999999aa11125
[clutter-text] Fix ellipsizing

Ellipsizing was effectively broken for two reasons. There was a typo
in the code to set the width so it always ended up being some massive
value. If no height should be set on the layout it was being set to
G_MAXINT. Setting a height greater than 0 enables wrapping which so
ellipsizing is not performed. It should be left at the default of -1
instead.
clutter/clutter-text.c