[f-spot] make the enum private, force the first item to 0



commit e1e5708c8781991c3337a4d8de12581a96f95d5d
Author: Stephane Delcroix <stephane delcroix org>
Date:   Tue Jun 23 13:14:11 2009 +0200

    make the enum private, force the first item to 0

 src/DragDropTargets.cs |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/DragDropTargets.cs b/src/DragDropTargets.cs
index e158e7d..34b1b58 100644
--- a/src/DragDropTargets.cs
+++ b/src/DragDropTargets.cs
@@ -1,5 +1,5 @@
 /*
- * DragDropTargets.cs
+ * FSpot.Gui.DragDropTargets.cs
  *
  * Author(s)
  * 	Mike Gemuende <mike gemuende de>
@@ -7,19 +7,15 @@
  * This is free software. See COPYING for details.
  */
 
-
 using System;
-
 using Gtk;
 
-
-
 namespace FSpot.Gui
 {	
 	public static class DragDropTargets
 	{
-		public enum TargetType {
-			PlainText,
+		enum TargetType {
+			PlainText = 0,
 			UriList,
 			TagList,
 			TagQueryItem,



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