[gtk+/theming: 2/14] range: x and y coordinates of the arrow rendering should be double
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/theming: 2/14] range: x and y coordinates of the arrow rendering should be double
- Date: Thu, 3 Mar 2011 14:26:15 +0000 (UTC)
commit 56246739cae6e5a471f5d3f75763ab05fca39a9e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Feb 26 19:29:08 2011 -0500
range: x and y coordinates of the arrow rendering should be double
To prevent off-by-one rounding errors when drawing them later.
gtk/gtkrange.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 624875e..7fc8434 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]