From c5bfe2d5f8dcb1f731a00d969c93b7d028dcf40d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 6 Jan 2011 00:41:18 +0000 Subject: [PATCH] arm (and thus save) global environment before messing it with it in bundled version git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8454 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index ff4cf3fd00..fd6e7808db 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -79,7 +79,7 @@ fixup_bundle_environment (int argc, char* argv[]) return; } - EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency); + EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true)); set_language_preference (); @@ -273,7 +273,7 @@ fixup_bundle_environment (int argc, char* argv[]) return; } - EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency); + EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true)); Glib::ustring exec_path = argv[0]; Glib::ustring dir_path = Glib::path_get_dirname (Glib::path_get_dirname (exec_path));