f-spot r4097 - in trunk: . src src/Imaging src/UI.Dialog



Author: rubenv
Date: Wed Jun 25 15:17:01 2008
New Revision: 4097
URL: http://svn.gnome.org/viewvc/f-spot?rev=4097&view=rev

Log:
2008-06-25  Ruben Vermeersch  <ruben savanne be>

	* GConfPreferenceBackend.cs, Imaging/JpegHeader.cs, RotateCommand.cs,
	TagCommands.cs, UI.Dialog/PreferenceDialog.cs: Silence some warnings, am
	tired of them.


Modified:
   trunk/ChangeLog
   trunk/src/GConfPreferenceBackend.cs
   trunk/src/Imaging/JpegHeader.cs
   trunk/src/RotateCommand.cs
   trunk/src/TagCommands.cs
   trunk/src/UI.Dialog/PreferenceDialog.cs

Modified: trunk/src/GConfPreferenceBackend.cs
==============================================================================
--- trunk/src/GConfPreferenceBackend.cs	(original)
+++ trunk/src/GConfPreferenceBackend.cs	Wed Jun 25 15:17:01 2008
@@ -30,7 +30,7 @@
 		{
 			try {
 				return Client.Get (key);
-			} catch (GConf.NoSuchKeyException e) {
+			} catch (GConf.NoSuchKeyException) {
 				throw new NoSuchKeyException (key);
 			}
 		}

Modified: trunk/src/Imaging/JpegHeader.cs
==============================================================================
--- trunk/src/Imaging/JpegHeader.cs	(original)
+++ trunk/src/Imaging/JpegHeader.cs	Wed Jun 25 15:17:01 2008
@@ -329,7 +329,7 @@
 
 	public string GetJFIFComment ()
 	{
-		string name = ComSignature.Name;
+		//string name = ComSignature.Name;
 		Marker marker = FindMarker (ComSignature);
 
 		if (marker == null)

Modified: trunk/src/RotateCommand.cs
==============================================================================
--- trunk/src/RotateCommand.cs	(original)
+++ trunk/src/RotateCommand.cs	Wed Jun 25 15:17:01 2008
@@ -214,7 +214,7 @@
 					RunGenericError (re, re.Path, re.Message);
 				else
 					readonly_count++;
-			} catch (Gnome.Vfs.VfsException e) {
+			} catch (Gnome.Vfs.VfsException) {
 				readonly_count++;
 			} catch (DirectoryNotFoundException e) {
 				RunGenericError (e, op.Items [op.Index].DefaultVersionUri.LocalPath, Catalog.GetString ("Directory not found"));

Modified: trunk/src/TagCommands.cs
==============================================================================
--- trunk/src/TagCommands.cs	(original)
+++ trunk/src/TagCommands.cs	Wed Jun 25 15:17:01 2008
@@ -384,7 +384,7 @@
 						PreviewPixbuf = PixbufUtils.TagIconFromPixbuf (external_image);
 					}
 				}
-			} catch (Exception e) {
+			} catch (Exception) {
 				string caption = Catalog.GetString ("Unable to load image");
 				string message = String.Format (Catalog.GetString ("Unable to load \"{0}\" as icon for the tag"), 
 									external_photo_chooser.Uri.ToString ());

Modified: trunk/src/UI.Dialog/PreferenceDialog.cs
==============================================================================
--- trunk/src/UI.Dialog/PreferenceDialog.cs	(original)
+++ trunk/src/UI.Dialog/PreferenceDialog.cs	Wed Jun 25 15:17:01 2008
@@ -78,10 +78,10 @@
 			}
 			LoadPreference (Preferences.DBUS_READ_ONLY);
 
+#if FALSE
 			Gtk.CellRendererText name_cell = new Gtk.CellRendererText ();
 			Gtk.CellRendererText desc_cell = new Gtk.CellRendererText ();
 			
-#if FALSE
 			display_combo.Model = new ProfileList ();
 			display_combo.PackStart (desc_cell, false);
 			display_combo.PackStart (name_cell, true);



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