[f-spot] Minor cleanups in Core



commit 3caa2a0e2b586e948ccc7099977ea1377f0357a9
Author: Stephen Shaw <sshaw decriptor com>
Date:   Fri Sep 7 16:51:57 2012 -0700

    Minor cleanups in Core

 src/Core/FSpot.Cms/Cms/GammaTable.cs               |    4 ----
 src/Core/FSpot.Core/FSpot.Core.csproj              |    4 ++++
 src/Core/FSpot.Core/FSpot.Core/PhotoList.cs        |    2 +-
 .../FSpot.Gui/FSpot.Widgets/SelectionCollection.cs |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/Core/FSpot.Cms/Cms/GammaTable.cs b/src/Core/FSpot.Cms/Cms/GammaTable.cs
index 1cd89e4..a11dead 100644
--- a/src/Core/FSpot.Cms/Cms/GammaTable.cs
+++ b/src/Core/FSpot.Cms/Cms/GammaTable.cs
@@ -28,11 +28,7 @@
 //
 
 using System;
-using System.IO;
-using System.Collections;
 using System.Runtime.InteropServices;
-using System.Reflection;
-using System.Runtime.Serialization;
 
 namespace Cms
 {
diff --git a/src/Core/FSpot.Core/FSpot.Core.csproj b/src/Core/FSpot.Core/FSpot.Core.csproj
index 8fae475..a48a0e7 100644
--- a/src/Core/FSpot.Core/FSpot.Core.csproj
+++ b/src/Core/FSpot.Core/FSpot.Core.csproj
@@ -91,6 +91,10 @@
       <Private>False</Private>
       <Package>gtk-sharp-beans-2.0</Package>
     </Reference>
+    <Reference Include="taglib-sharp, Version=2.0.4.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0">
+      <Private>False</Private>
+      <Package>taglib-sharp</Package>
+    </Reference>
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="FSpot.Core.addins">
diff --git a/src/Core/FSpot.Core/FSpot.Core/PhotoList.cs b/src/Core/FSpot.Core/FSpot.Core/PhotoList.cs
index 348074d..c58d781 100644
--- a/src/Core/FSpot.Core/FSpot.Core/PhotoList.cs
+++ b/src/Core/FSpot.Core/FSpot.Core/PhotoList.cs
@@ -41,7 +41,7 @@ namespace FSpot.Core
             list = new List<IPhoto> (photos);
         }
 
-        public PhotoList (params IPhoto[] photos) : this(photos as IEnumerable<IPhoto>)
+        public PhotoList (params IPhoto[] photos) : this(photos)
         {
         }
 
diff --git a/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs b/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
index 0bfa536..41192d8 100644
--- a/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
+++ b/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
@@ -246,7 +246,7 @@ namespace FSpot.Widgets
 			if (item == null)
 				return;
 
-			int parent_index = (int)selected_cells [item];
+			int parent_index = selected_cells [item];
 			selected_cells.Remove (item);
 			bit_array.Set (parent_index, false);
 



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