diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-10 17:11:10 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-10 17:11:10 -0500 |
commit | 658bb3ccd43658de18fbd43cd91a8e66650e27a7 (patch) | |
tree | 6a64705a20919b8d53b73601d0c3b4f4df6f5b15 /gtk2_ardour/main.cc | |
parent | 3020b224fa2d6e1b6b8a576e8e8e211e0585f2a2 (diff) | |
parent | b1231696caa7d08c80055ca59b18f4b634dc47cf (diff) |
finished merge of cairocanvas with windows and windows+cc branches
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index de56b1e387..d212edef92 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -175,8 +175,8 @@ fixup_bundle_environment (int, char* []) export_search_path (bundle_dir, "VAMP_PATH", "/lib"); export_search_path (bundle_dir, "GTK_PATH", "/lib/gtkengines"); - setenv ("SUIL_MODULE_DIR", (bundle_dir + "/lib").c_str(), 1); - setenv ("PATH", (bundle_dir + "/MacOS:" + std::string(getenv ("PATH"))).c_str(), 1); + g_setenv ("SUIL_MODULE_DIR", (bundle_dir + "/lib").c_str(), 1); + g_setenv ("PATH", (bundle_dir + "/MacOS:" + std::string(g_getenv ("PATH"))).c_str(), 1); /* unset GTK_RC_FILES so that we only load the RC files that we define */ @@ -285,8 +285,8 @@ fixup_bundle_environment (int /*argc*/, char* argv[]) export_search_path (dir_path, "VAMP_PATH", "/lib"); export_search_path (dir_path, "GTK_PATH", "/lib/gtkengines"); - setenv ("SUIL_MODULE_DIR", (dir_path + "/lib").c_str(), 1); - setenv ("PATH", (dir_path + "/bin:" + std::string(getenv ("PATH"))).c_str(), 1); + g_setenv ("SUIL_MODULE_DIR", (dir_path + "/lib").c_str(), 1); + g_setenv ("PATH", (dir_path + "/bin:" + std::string(g_getenv ("PATH"))).c_str(), 1); /* unset GTK_RC_FILES so that we only load the RC files that we define */ |