[f-spot: 24/41] fix the fastpath



commit 83a5f4b61192ac8e9f2b9d2bde7156f74dd7bac0
Author: Stephane Delcroix <stephane delcroix org>
Date:   Wed Jun 10 11:24:47 2009 +0200

    fix the fastpath

 src/Widgets/ImageView.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index a0c5222..e171dd6 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -231,7 +231,7 @@ namespace FSpot.Widgets
 			    Pixbuf.BitsPerSample == 8) {
 				BinWindow.DrawPixbuf (Style.BlackGC,
 						      Pixbuf,
-						      area.X, area.Y,
+						      area.X - x_offset, area.Y - y_offset,
 						      area.X, area.Y,
 						      area.Width, area.Height,
 						      RgbDither.Max,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]