- bool surfaces_path_defined = false;
- SearchPath spath_env (Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
-
- if (surfaces_path_defined) {
- return spath_env;
- }
-
- SearchPath spath (user_config_directory ());
-
- spath += ardour_module_directory ();