[f-spot] Small bug in dupe detection.



commit b291790a512a6bfa6699b4859da3d6c944624451
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat May 15 21:35:30 2010 +0200

    Small bug in dupe detection.

 src/PhotoStore.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/PhotoStore.cs b/src/PhotoStore.cs
index e7bdb98..b0dd5eb 100644
--- a/src/PhotoStore.cs
+++ b/src/PhotoStore.cs
@@ -115,7 +115,7 @@ public class PhotoStore : DbStore<Photo> {
 		foreach (Photo match in md5_matches)
 		{
 			var file2 = GLib.FileFactory.NewForUri (match.DefaultVersionUri);
-			var info2 = file.QueryInfo ("standard::content-type", GLib.FileQueryInfoFlags.None, null);
+			var info2 = file2.QueryInfo ("standard::content-type", GLib.FileQueryInfoFlags.None, null);
 
 			// same mimetype?
 			if (info.ContentType != info2.ContentType)



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