[gbrainy] Remove deprecated Defines



commit 1521b01e92ada26cb9fe9e414e0e4d615e8d8f29
Author: Jordi Mas <jmas softcatala org>
Date:   Sun Nov 22 22:13:43 2009 +0100

    Remove deprecated Defines

 src/Clients/Classical/Defines.cs.in |    5 +----
 src/Core/Main/Defines.cs.in         |    3 +--
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/Clients/Classical/Defines.cs.in b/src/Clients/Classical/Defines.cs.in
index e04324b..45dc54b 100644
--- a/src/Clients/Classical/Defines.cs.in
+++ b/src/Clients/Classical/Defines.cs.in
@@ -21,12 +21,9 @@ using System;
 
 namespace gbrainy.Clients.Classical
 {
-	public class Defines
+	public static class Defines
 	{
 		public const string VERSION = "@VERSION@";
 		public const string GNOME_LOCALE_DIR = "@prefix@/share/locale";
-		public const string DATA_DIR = "@prefix@/share/games/gbrainy/";
-		public const string VERBAL_ANALOGIES = "verbal_analogies.xml";
-		public const string CONFIG_DIR = "gbrainy"; // like .config/gbrainy
 	}
 }
diff --git a/src/Core/Main/Defines.cs.in b/src/Core/Main/Defines.cs.in
index 2bfaf42..294a202 100644
--- a/src/Core/Main/Defines.cs.in
+++ b/src/Core/Main/Defines.cs.in
@@ -21,10 +21,9 @@ using System;
 
 namespace gbrainy.Core.Main
 {
-	public class Defines
+	public static class Defines
 	{
 		public const string VERSION = "@VERSION@";
-		public const string GNOME_LOCALE_DIR = "@prefix@/share/locale";
 		public const string DATA_DIR = "@prefix@/share/games/gbrainy/";
 		public const string VERBAL_ANALOGIES = "verbal_analogies.xml";
 		public const string CONFIG_DIR = "gbrainy"; // like .config/gbrainy



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