backport from 2.X: arm (and thus save) global environment before messing it with it in bundled version
git-svn-id: svn://localhost/ardour2/branches/3.0@8455 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1f8e12a1b1
commit
10ead326e4
@ -112,6 +112,8 @@ fixup_bundle_environment ()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
|
||||||
|
|
||||||
set_language_preference ();
|
set_language_preference ();
|
||||||
|
|
||||||
char execpath[MAXPATHLEN+1];
|
char execpath[MAXPATHLEN+1];
|
||||||
@ -309,7 +311,7 @@ fixup_bundle_environment (int argc, char* argv[])
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency);
|
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
|
||||||
|
|
||||||
Glib::ustring exec_path = argv[0];
|
Glib::ustring exec_path = argv[0];
|
||||||
Glib::ustring dir_path = Glib::path_get_dirname (Glib::path_get_dirname (exec_path));
|
Glib::ustring dir_path = Glib::path_get_dirname (Glib::path_get_dirname (exec_path));
|
||||||
|
Loading…
Reference in New Issue
Block a user