]> Pileus Git - ~andy/gtk/commit
gtkscale: fix bogus compare func
authorStefan Sauer <ensonic@users.sf.net>
Mon, 9 Jan 2012 17:16:53 +0000 (18:16 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 9 Jan 2012 17:33:11 +0000 (18:33 +0100)
commitf7d3ca46f78a076fd26a4036e31a95c8b7afdf4a
treec477d3f74df69de395ec12164c6a82ab81191d2a
parent1f023cd2b1f1609b495cc4af9081ba26506c5920
gtkscale: fix bogus compare func

The GtkScaleMark values are gdouble, a simple a-b compare func would fail for
values with the same integer value. This breaks the sorting and causes random
marker label placement.
gtk/gtkscale.c