From 4dd01105e114195cac5aaf426800175a6c7b4242 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 27 Jan 2013 03:43:05 +0000 Subject: remove setting of GTK_LOCALEDIR from bundle setup git-svn-id: svn://localhost/ardour2/branches/3.0@14009 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/main.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gtk2_ardour/main.cc') 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 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 -- cgit v1.2.3