X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_range_markers_dialog.cc;h=4b991629743ca4a598e0fe7c953e7d13cffbcfb3;hb=3e59452fa0182ace7785c62acef83cb0d213cc86;hp=06f590758c7d7602f27723e70fd960697e6d4d97;hpb=41d0052d19b44474b09b8066838c2479d9788d83;p=ardour.git diff --git a/gtk2_ardour/export_range_markers_dialog.cc b/gtk2_ardour/export_range_markers_dialog.cc index 06f590758c..4b99162974 100644 --- a/gtk2_ardour/export_range_markers_dialog.cc +++ b/gtk2_ardour/export_range_markers_dialog.cc @@ -22,8 +22,6 @@ #include -#include "pbd/filesystem.h" - #include "ardour/audioengine.h" #include "ardour/sndfile_helpers.h" @@ -76,7 +74,7 @@ ExportRangeMarkersDialog::process_range_markers_export(Locations::LocationList& string filepath = get_target_filepath( get_selected_file_name(), currentLocation->name(), - sndfile_file_ending_from_string(get_selected_header_format())); + get_selected_header_format()); initSpec(filepath); @@ -157,7 +155,7 @@ ExportRangeMarkersDialog::is_filepath_valid(string &filepath) // directory needs to exist and be writable string dirpath = Glib::path_get_dirname (filepath); - if (!exists_and_writable (sys::path (dirpath))) { + if (!exists_and_writable (dirpath)) { string txt = _("Cannot write file in: ") + dirpath; MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true); msg.run();