summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index fe0198af4..1793c6bbf 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -4694,8 +4694,8 @@ apply_affine_on_point (double affine[6], GdkPoint *point)
x = point->x * affine[0] + point->y * affine[2] + affine[4];
y = point->x * affine[1] + point->y * affine[3] + affine[5];
- point->x = x;
- point->y = y;
+ point->x = floor (x);
+ point->y = floor (y);
}
static void