[Xfce4-commits] <ristretto:master> align the background with the image
Stephan Arts
noreply at xfce.org
Fri Oct 21 17:38:11 CEST 2011
Updating branch refs/heads/master
to 72f74c701c2adc4694809a057f47dde73f3bb2fb (commit)
from 785101a913fef84feb570bc36aca8982c0a94e74 (commit)
commit 72f74c701c2adc4694809a057f47dde73f3bb2fb
Author: Stephan Arts <stephan at xfce.org>
Date: Fri Oct 21 17:35:06 2011 +0200
align the background with the image
src/image_viewer.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/image_viewer.c b/src/image_viewer.c
index 28902cc..7218d22 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -969,8 +969,8 @@ paint_image (
}
cairo_rectangle (
ctx,
- x_offset + i*10 - 0.5,
- y_offset + a*10 - 0.5,
+ x_offset + i*10,
+ y_offset + a*10,
block_width,
block_height);
cairo_fill (ctx);
@@ -1003,8 +1003,8 @@ paint_image (
}
cairo_rectangle (
ctx,
- x_offset + i*10 - 0.5,
- y_offset + a*10 - 0.5,
+ x_offset + i*10,
+ y_offset + a*10,
block_width,
block_height);
cairo_fill (ctx);
More information about the Xfce4-commits
mailing list