diff options
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index b0088ef251..bda719780d 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -42,9 +42,6 @@ #include <errno.h> #include <regex.h> -#include <glib.h> -#include <glib/gstdio.h> - #include <glibmm/miscutils.h> #include <glibmm/fileutils.h> @@ -299,17 +296,6 @@ ARDOUR::cmp_nocase_utf8 (const string& s1, const string& s2) return retval; } -int -ARDOUR::touch_file (string path) -{ - int fd = g_open (path.c_str(), O_RDWR|O_CREAT, 0660); - if (fd >= 0) { - close (fd); - return 0; - } - return 1; -} - string ARDOUR::region_name_from_path (string path, bool strip_channels, bool add_channel_suffix, uint32_t total, uint32_t this_one) { |