]> Pileus Git - ~andy/gtk/commit
label: Fix another sizing corner case causing segfaults
authorBenjamin Otte <otte@redhat.com>
Thu, 8 Nov 2012 22:15:19 +0000 (23:15 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 8 Nov 2012 22:34:30 +0000 (23:34 +0100)
commit0d9a45d46006cf03afc1868130005736cf5a2d0c
tree6e2540442564da671241955b7b8057e8c51bcd39
parent947fed0961a26b7d017df18c3ad9723967574279
label: Fix another sizing corner case causing segfaults

If the "wider" label is the smaller one, use the wider size for both
cases. This can happen when ellipsizing a single character, which is
often smaller than the ellipsizing glpyph(s).
gtk/gtklabel.c