[f-spot] Fix some Tiff errors



commit a5a518785b970c92f73488649bb5112e76f39f30
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat Jun 5 21:21:47 2010 +0200

    Fix some Tiff errors

 src/Imaging/Tiff.cs |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/Imaging/Tiff.cs b/src/Imaging/Tiff.cs
index fedbf31..2d8e22e 100644
--- a/src/Imaging/Tiff.cs
+++ b/src/Imaging/Tiff.cs
@@ -1498,8 +1498,8 @@ namespace FSpot.Tiff {
 						throw new Exception ("recursive ifd");
 					Directory [i] = new ImageDirectory (stream, directory_offset, endian);
 				} catch (System.Exception e) {
-					Log.ErrorFormat ("Error loading Subdirectory {0} at {2} of {3}bytes:{4}{1}",
-								  this.Id, e, directory_offset, stream.Length, Environment.NewLine);
+					Log.ErrorFormat ("Error loading Subdirectory {0} at {2}: {3}{1}",
+								  this.Id, e, directory_offset, Environment.NewLine);
 				}
 					
 			}
@@ -2056,11 +2056,6 @@ namespace FSpot.Tiff {
 			}
 		}
 		
-		public override System.IO.Stream PixbufStream ()
-		{
-			return Open ();
-		}
-
 		public override PixbufOrientation GetOrientation ()
 		{
 			ShortEntry e = (ShortEntry)(this.Header.Directory.Lookup (TagId.Orientation));



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