[f-spot] Drop the unused photo_index member, update code accordingly.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] Drop the unused photo_index member, update code accordingly.
- Date: Sun, 14 Jun 2009 19:30:41 -0400 (EDT)
commit 221da14774dc6e2d86a9ae80e15fb97c791651fa
Author: Ruben Vermeersch <ruben savanne be>
Date: Mon Jun 15 01:29:35 2009 +0200
Drop the unused photo_index member, update code accordingly.
src/SendEmail.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/SendEmail.cs b/src/SendEmail.cs
index afdba5c..c8c82eb 100644
--- a/src/SendEmail.cs
+++ b/src/SendEmail.cs
@@ -30,7 +30,6 @@ namespace FSpot {
large_size, x_large_size, original_size;
[Glade.Widget] private CheckButton rotate_check;
- int photo_index;
bool clean;
long Orig_Photo_Size = 0;
double scale_percentage = 0.3;
@@ -305,13 +304,13 @@ namespace FSpot {
// Mark the path for deletion
tmp_paths.Add (request.Current.LocalPath);
} catch (Exception e) {
- Console.WriteLine("Error preparing {0}: {1}", selection[photo_index].Name, e.Message);
+ Console.WriteLine("Error preparing {0}: {1}", selection[i].Name, e.Message);
HigMessageDialog md = new HigMessageDialog (parent_window,
DialogFlags.DestroyWithParent,
MessageType.Error,
ButtonsType.Close,
Catalog.GetString("Error processing image"),
- String.Format(Catalog.GetString("An error occured while processing \"{0}\": {1}"), selection[photo_index].Name, e.Message));
+ String.Format(Catalog.GetString("An error occured while processing \"{0}\": {1}"), selection[i].Name, e.Message));
md.Run();
md.Destroy();
UserCancelled = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]