[f-spot] Kill more warnings.



commit b248c3c8c0ab1b4f76a8740a444b9b253f8e9d7a
Author: Ruben Vermeersch <ruben savanne be>
Date:   Tue May 18 21:07:29 2010 +0200

    Kill more warnings.

 src/FileImportBackend.cs    |    1 -
 src/PhotoImageView.cs       |    2 +-
 src/SingleView.cs           |    3 ---
 src/Widgets/PreviewPopup.cs |    2 +-
 4 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/FileImportBackend.cs b/src/FileImportBackend.cs
index 3a1690b..9e39bd1 100644
--- a/src/FileImportBackend.cs
+++ b/src/FileImportBackend.cs
@@ -160,7 +160,6 @@ public class FileImportBackend : ImportBackend {
 	public override bool Step (out StepStatusInfo status_info)
 	{
 		Photo photo = null;
-		Pixbuf thumbnail = null;
 		bool is_duplicate = false;
 
 		if (import_info == null)
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 8f24595..5b968d4 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -33,7 +33,7 @@ namespace FSpot.Widgets {
 			item.Changed += HandlePhotoItemChanged;
 		}
 
-		new public BrowsablePointer Item {
+		public BrowsablePointer Item {
 			get { return item; }
 		}
 
diff --git a/src/SingleView.cs b/src/SingleView.cs
index 99369bc..c56f61e 100644
--- a/src/SingleView.cs
+++ b/src/SingleView.cs
@@ -493,8 +493,6 @@ namespace FSpot {
 
 		private void HandleFileOpen (object sender, System.EventArgs args)
 		{
-			string open = null;
-			
 			FileChooserDialog file_selector =
 				new FileChooserDialog ("Open", this.Window,
 						       FileChooserAction.Open);
@@ -508,7 +506,6 @@ namespace FSpot {
 					l.Add (new Uri (s));
 				new FSpot.SingleView (l.ToArray ());
 			}
-
 			
 			file_selector.Destroy ();
 		}
diff --git a/src/Widgets/PreviewPopup.cs b/src/Widgets/PreviewPopup.cs
index 05fa9b9..10ef8c1 100644
--- a/src/Widgets/PreviewPopup.cs
+++ b/src/Widgets/PreviewPopup.cs
@@ -37,7 +37,7 @@ namespace FSpot {
 		private DisposableCache<string, Pixbuf> preview_cache = new DisposableCache<string, Pixbuf> (50);
 
 		private int item = -1;
-		new public int Item {
+		public int Item {
 			get {
 				return item;
 			}



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