summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-01-27 03:43:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-01-27 03:43:05 +0000
commit4dd01105e114195cac5aaf426800175a6c7b4242 (patch)
tree4df054e13285c1c0a2e4451f283e970de50c02d2 /gtk2_ardour
parent3813201de6f83a6a85695e477b7617c50e528b51 (diff)
remove setting of GTK_LOCALEDIR from bundle setup
git-svn-id: svn://localhost/ardour2/branches/3.0@14009 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/main.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 0aff343c31..fd03db115b 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -151,7 +151,6 @@ fixup_bundle_environment (int, char* [])
#ifdef ENABLE_NLS
if (!ARDOUR::translations_are_enabled ()) {
localedir = "/this/cannot/exist";
- export_search_path (bundle_dir, "GTK_LOCALEDIR", "/Resources/locale");
} else {
/* force localedir into the bundle */
@@ -160,7 +159,6 @@ fixup_bundle_environment (int, char* [])
lpath.push_back ("share");
lpath.push_back ("locale");
localedir = strdup (Glib::build_filename (lpath).c_str());
- export_search_path (bundle_dir, "GTK_LOCALEDIR", "/Resources/locale");
}
#endif
@@ -239,7 +237,6 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
#ifdef ENABLE_NLS
if (!ARDOUR::translations_are_enabled ()) {
localedir = "/this/cannot/exist";
- export_search_path (dir_path, "GTK_LOCALEDIR", "/this/cannot/exist");
} else {
/* force localedir into the bundle */
vector<string> lpath;
@@ -247,7 +244,6 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
lpath.push_back ("share");
lpath.push_back ("locale");
localedir = realpath (Glib::build_filename (lpath).c_str(), NULL);
- export_search_path (dir_path, "GTK_LOCALEDIR", "/share/locale");
}
#endif