[f-spot/FSPOT_0_6_0_STABLE] fix extensions to use the new Selection api



commit 914eb407910535c20edb07ec6abdb3ea1f3f71e4
Author: Stephane Delcroix <stephane delcroix org>
Date:   Fri Aug 28 13:56:30 2009 +0200

    fix extensions to use the new Selection api

 .../Editors/BlackoutEditor/BlackoutEditor.cs       |    4 ++--
 .../Editors/PixelateEditor/PixelateEditor.cs       |   10 +++++-----
 extensions/Exporters/Makefile.am                   |    4 ++--
 extensions/Tools/Makefile.am                       |    4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/extensions/Editors/BlackoutEditor/BlackoutEditor.cs b/extensions/Editors/BlackoutEditor/BlackoutEditor.cs
index be93be1..07b8251 100644
--- a/extensions/Editors/BlackoutEditor/BlackoutEditor.cs
+++ b/extensions/Editors/BlackoutEditor/BlackoutEditor.cs
@@ -33,8 +33,8 @@ namespace FSpot.Addins.Editors {
 		protected override Pixbuf Process (Pixbuf input, Cms.Profile input_profile) {
 			Pixbuf output = input.Copy ();
 
-			Pixbuf sub = new Pixbuf (output, State.Selection.x, State.Selection.y,
-					State.Selection.width, State.Selection.height);
+			Pixbuf sub = new Pixbuf (output, State.Selection.X, State.Selection.Y,
+					State.Selection.Width, State.Selection.Height);
 			sub.Fill (0x00000000);
 			return output;
 		}
diff --git a/extensions/Editors/PixelateEditor/PixelateEditor.cs b/extensions/Editors/PixelateEditor/PixelateEditor.cs
index faa0943..fd2bc94 100644
--- a/extensions/Editors/PixelateEditor/PixelateEditor.cs
+++ b/extensions/Editors/PixelateEditor/PixelateEditor.cs
@@ -33,14 +33,14 @@ namespace FSpot.Addins.Editors {
 		protected override Pixbuf Process (Pixbuf input, Cms.Profile input_profile) {
 			Pixbuf output = input.Copy ();
 
-			Pixbuf sub = new Pixbuf (output, State.Selection.x, State.Selection.y,
-					State.Selection.width, State.Selection.height);
+			Pixbuf sub = new Pixbuf (output, State.Selection.X, State.Selection.Y,
+					State.Selection.Width, State.Selection.Height);
 			/* lazy man's pixelate: scale down and then back up */
-			Pixbuf down = sub.ScaleSimple (State.Selection.width/75, State.Selection.height/75,
+			Pixbuf down = sub.ScaleSimple (State.Selection.Width/75, State.Selection.Height/75,
 					InterpType.Nearest);
-			Pixbuf up = down.ScaleSimple (State.Selection.width, State.Selection.height,
+			Pixbuf up = down.ScaleSimple (State.Selection.Width, State.Selection.Height,
 					InterpType.Nearest);
-			up.CopyArea (0, 0, State.Selection.width, State.Selection.height, sub, 0, 0);
+			up.CopyArea (0, 0, State.Selection.Width, State.Selection.Height, sub, 0, 0);
 			return output;
 		}
 	}
diff --git a/extensions/Exporters/Makefile.am b/extensions/Exporters/Makefile.am
index deff6fc..832b607 100644
--- a/extensions/Exporters/Makefile.am
+++ b/extensions/Exporters/Makefile.am
@@ -1,11 +1,11 @@
 SUBDIRS = 			\
 	CDExport		\
 	DefaultExporters	\
-	GalleryExport		\
 	FacebookExport		\
 	FlickrExport		\
 	FolderExport		\
+	GalleryExport		\
 	PicasaWebExport		\
-	TabbloExport		\
 	SmugMugExport		\
+	TabbloExport		\
 	ZipExport
diff --git a/extensions/Tools/Makefile.am b/extensions/Tools/Makefile.am
index 0bf4399..2b291ae 100644
--- a/extensions/Tools/Makefile.am
+++ b/extensions/Tools/Makefile.am
@@ -2,6 +2,6 @@ SUBDIRS = 			\
 	ChangePhotoPath		\
 	DevelopInUFraw		\
 	HashJob			\
+	MergeDb			\
 	RawPlusJpeg		\
-	ScreensaverConfig	\
-	MergeDb
+	ScreensaverConfig



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