[gthumb] image viewer: fixed clip size
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] image viewer: fixed clip size
- Date: Sat, 9 Nov 2013 20:07:56 +0000 (UTC)
commit 1b68c85c2eeb7c925d9879c70e7ec231ca9127a9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Oct 31 08:46:32 2013 +0100
image viewer: fixed clip size
gthumb/gth-image-viewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-image-viewer.c b/gthumb/gth-image-viewer.c
index 8d510f5..988a8b4 100644
--- a/gthumb/gth-image-viewer.c
+++ b/gthumb/gth-image-viewer.c
@@ -2491,7 +2491,7 @@ gth_image_viewer_paint (GthImageViewer *self,
cairo_scale (cr, zoom_level, zoom_level);
cairo_set_source_surface (cr, surface, dest_dx - src_dx, dest_dy - src_dy);
cairo_pattern_set_filter (cairo_get_source (cr), filter);
- cairo_rectangle (cr, dest_dx, dest_dy, dwidth - 0.5, dheight - 0.5);
+ cairo_rectangle (cr, dest_dx, dest_dy, dwidth, dheight);
cairo_clip_preserve (cr);
cairo_fill (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]