[f-spot] Remove open-check in ImageFile.



commit 617de66371658767386cf7b6e666ce01a1f8f0bd
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sun Jun 13 16:36:35 2010 +0200

    Remove open-check in ImageFile.

 src/Imaging/ImageFile.cs |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/Imaging/ImageFile.cs b/src/Imaging/ImageFile.cs
index c44b9c9..8e1157b 100644
--- a/src/Imaging/ImageFile.cs
+++ b/src/Imaging/ImageFile.cs
@@ -37,8 +37,6 @@ namespace FSpot {
 		
 		protected Stream Open ()
 		{
-			if (stream != null)
-				throw new Exception ("Already open!");
 			Log.DebugFormat ("open uri = {0}", uri.ToString ());
 			stream = new GLib.GioStream (GLib.FileFactory.NewForUri (uri).Read (null));
 			return stream;



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