From 218b63cc37ddb4a611e040e408e71b74bea8e6bb Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 23 Jun 2012 05:09:46 +0000 Subject: Use std::string and Glib::build_filename in gtk2_ardour git-svn-id: svn://localhost/ardour2/branches/3.0@12903 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/export_range_markers_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/export_range_markers_dialog.cc') diff --git a/gtk2_ardour/export_range_markers_dialog.cc b/gtk2_ardour/export_range_markers_dialog.cc index c6bf578a32..5c73e20d07 100644 --- a/gtk2_ardour/export_range_markers_dialog.cc +++ b/gtk2_ardour/export_range_markers_dialog.cc @@ -157,7 +157,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(); -- cgit v1.2.3