range: x and y coordinates of the arrow rendering should be double

To prevent off-by-one rounding errors when drawing them later.
This commit is contained in:
Cosimo Cecchi 2011-02-26 19:29:08 -05:00
parent 11f07f9bdc
commit 230bd4b461

View File

@ -1859,8 +1859,8 @@ draw_stepper (GtkRange *range,
GtkWidget *widget = GTK_WIDGET (range);
gfloat arrow_scaling;
GdkRectangle *rect;
gint arrow_x;
gint arrow_y;
gdouble arrow_x;
gdouble arrow_y;
gdouble arrow_size, angle;
gboolean arrow_sensitive;