summaryrefslogtreecommitdiff
path: root/libs/ardour/template_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r--libs/ardour/template_utils.cc17
1 files changed, 1 insertions, 16 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc
index b912fdc446..8efe311536 100644
--- a/libs/ardour/template_utils.cc
+++ b/libs/ardour/template_utils.cc
@@ -30,6 +30,7 @@
#include "ardour/directory_names.h"
#include "ardour/filesystem_paths.h"
#include "ardour/filename_extensions.h"
+#include "ardour/search_paths.h"
#include "ardour/io.h"
using namespace std;
@@ -37,22 +38,6 @@ using namespace PBD;
namespace ARDOUR {
-Searchpath
-template_search_path ()
-{
- Searchpath spath (ardour_data_search_path());
- spath.add_subdirectory_to_paths(templates_dir_name);
- return spath;
-}
-
-Searchpath
-route_template_search_path ()
-{
- Searchpath spath (ardour_data_search_path());
- spath.add_subdirectory_to_paths(route_templates_dir_name);
- return spath;
-}
-
std::string
user_template_directory ()
{