[f-spot] fix the build
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] fix the build
- Date: Wed, 17 Jun 2009 04:19:48 -0400 (EDT)
commit b1fb36e115babffe6c9c84886949546824cbdc81
Author: Stephane Delcroix <stephane delcroix org>
Date: Tue Jun 16 16:54:11 2009 +0200
fix the build
src/Widgets/ImageView.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index 494095c..49a771f 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -769,9 +769,9 @@ namespace FSpot.Widgets
}
}
- void ScrollBy (int x, int y)
+ void ScrollBy (double x, double y)
{
- ScrollTo (XOffset + x, YOffset + y, true);
+ ScrollTo ((int)(XOffset + x), (int)(YOffset + y), true);
}
static int Clamp (int value, int min, int max)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]