X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_range_markers_dialog.cc;h=4b991629743ca4a598e0fe7c953e7d13cffbcfb3;hb=3e59452fa0182ace7785c62acef83cb0d213cc86;hp=c6bf578a329dc947c1b796c09ee2c13d73b13090;hpb=d4433b9ab384196bb5b8876890863d7939339ee2;p=ardour.git diff --git a/gtk2_ardour/export_range_markers_dialog.cc b/gtk2_ardour/export_range_markers_dialog.cc index c6bf578a32..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" @@ -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();