[gthumb] fixed the slide drawing
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed the slide drawing
- Date: Fri, 31 Dec 2010 18:56:25 +0000 (UTC)
commit da0e7cc78022060333659c4752758605d3ed425b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Dec 31 19:21:11 2010 +0100
fixed the slide drawing
gthumb/cairo-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/cairo-utils.c b/gthumb/cairo-utils.c
index 4f6c7f1..4fea260 100644
--- a/gthumb/cairo-utils.c
+++ b/gthumb/cairo-utils.c
@@ -259,8 +259,8 @@ _cairo_draw_slide (cairo_t *cr,
cairo_stroke (cr);
cairo_set_source_rgb (cr, mid_gray, mid_gray, mid_gray);
- cairo_move_to (cr, image_x2 - 1, image_y);
- cairo_line_to (cr, image_x2 - 1, image_y2);
+ cairo_move_to (cr, image_x2 - 1, image_y - 1);
+ cairo_line_to (cr, image_x2 - 1, image_y2 - 1);
cairo_move_to (cr, image_x, image_y2 - 1);
cairo_line_to (cr, image_x2, image_y2 - 1);
cairo_stroke (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]