f-spot r4634 - in trunk: . src/Core



Author: sdelcroix
Date: Wed Nov 26 14:13:17 2008
New Revision: 4634
URL: http://svn.gnome.org/viewvc/f-spot?rev=4634&view=rev

Log:
use const instead of static readonly

2008-11-26  Stephane Delcroix  <sdelcroix novell com>

	* src/Core/Defines.cs.in: use const instead of static readonly

Modified:
   trunk/ChangeLog
   trunk/src/Core/Defines.cs.in

Modified: trunk/src/Core/Defines.cs.in
==============================================================================
--- trunk/src/Core/Defines.cs.in	(original)
+++ trunk/src/Core/Defines.cs.in	Wed Nov 26 14:13:17 2008
@@ -10,11 +10,11 @@
 
 namespace FSpot {
 	public struct Defines {
-		public static readonly string LOCALE_DIR = "@prefix@/share/locale";
-		public static readonly string VERSION = "@VERSION@";
-		public static readonly string PACKAGE = "@PACKAGE@";
-		public static readonly string PREFIX = "@prefix@";
-		public static readonly string APP_DATA_DIR = "@prefix@/share/@PACKAGE@";
-		public static readonly string BINDIR = PREFIX + "/bin";
+		public const string LOCALE_DIR = "@prefix@/share/locale";
+		public const string VERSION = "@VERSION@";
+		public const string PACKAGE = "@PACKAGE@";
+		public const string PREFIX = "@prefix@";
+		public const string APP_DATA_DIR = "@prefix@/share/@PACKAGE@";
+		public const string BINDIR = PREFIX + "/bin";
 	}			
 }



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