[evolution] Don't relocate non-existing EVOLUTION_GLADEDIR



commit fc3cfd74bedf8263e497ca23200ba74d3de5961c
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Thu Mar 11 16:06:25 2010 +0100

    Don't relocate non-existing EVOLUTION_GLADEDIR

 e-util/e-util-private.h |    4 ----
 e-util/e-win32-reloc.c  |    3 ---
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/e-util/e-util-private.h b/e-util/e-util-private.h
index 645f855..464815b 100644
--- a/e-util/e-util-private.h
+++ b/e-util/e-util-private.h
@@ -40,7 +40,6 @@ const gchar *_e_get_datadir (void) G_GNUC_CONST;
 const gchar *_e_get_ecpsdir (void) G_GNUC_CONST;
 const gchar *_e_get_etspecdir (void) G_GNUC_CONST;
 const gchar *_e_get_galviewsdir (void) G_GNUC_CONST;
-const gchar *_e_get_gladedir (void) G_GNUC_CONST;
 const gchar *_e_get_helpdir (void) G_GNUC_CONST;
 const gchar *_e_get_icondir (void) G_GNUC_CONST;
 const gchar *_e_get_imagesdir (void) G_GNUC_CONST;
@@ -87,9 +86,6 @@ const gchar *_e_get_uidir (void) G_GNUC_CONST;
 #undef EVOLUTION_GALVIEWSDIR
 #define EVOLUTION_GALVIEWSDIR _e_get_galviewsdir ()
 
-#undef EVOLUTION_UIDIR
-#define EVOLUTION_UIDIR _e_get_gladedir ()
-
 #undef EVOLUTION_HELPDIR
 #define EVOLUTION_HELPDIR _e_get_helpdir ()
 
diff --git a/e-util/e-win32-reloc.c b/e-util/e-win32-reloc.c
index ad9e126..3b1b601 100644
--- a/e-util/e-win32-reloc.c
+++ b/e-util/e-win32-reloc.c
@@ -39,7 +39,6 @@ static const gchar *datadir;
 static const gchar *ecpsdir;
 static const gchar *etspecdir;
 static const gchar *galviewsdir;
-static const gchar *gladedir;
 static const gchar *helpdir;
 static const gchar *icondir;
 static const gchar *imagesdir;
@@ -121,7 +120,6 @@ setup (void)
 	ecpsdir = replace_prefix (full_prefix, EVOLUTION_ECPSDIR);
 	etspecdir = replace_prefix (full_prefix, EVOLUTION_ETSPECDIR);
 	galviewsdir = replace_prefix (full_prefix, EVOLUTION_GALVIEWSDIR);
-	gladedir = replace_prefix (full_prefix, EVOLUTION_UIDIR);
 	helpdir = replace_prefix (full_prefix, EVOLUTION_HELPDIR);
 	if (g_getenv ("EVOLUTION_ICONDIR") &&
 	    g_file_test (g_getenv ("EVOLUTION_ICONDIR"), G_FILE_TEST_IS_DIR))
@@ -164,7 +162,6 @@ GETTER(datadir)
 GETTER(ecpsdir)
 GETTER(etspecdir)
 GETTER(galviewsdir)
-GETTER(gladedir)
 GETTER(helpdir)
 GETTER(icondir)
 GETTER(imagesdir)



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