summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_file_notebook.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2012-06-23 05:08:53 +0000
committerTim Mayberry <mojofunk@gmail.com>2012-06-23 05:08:53 +0000
commit9dfb6b7d93441956deb6ee455b7d8636ae33603d (patch)
tree5dd853102215045374a5400ceda61b422fc82a30 /gtk2_ardour/export_file_notebook.cc
parent1844c8b42232c736fc83bda0c508074a13529fc1 (diff)
Remove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent
git-svn-id: svn://localhost/ardour2/branches/3.0@12879 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_file_notebook.cc')
-rw-r--r--gtk2_ardour/export_file_notebook.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk2_ardour/export_file_notebook.cc b/gtk2_ardour/export_file_notebook.cc
index 1d31365e93..2d13da32ba 100644
--- a/gtk2_ardour/export_file_notebook.cc
+++ b/gtk2_ardour/export_file_notebook.cc
@@ -22,8 +22,6 @@
#include "ardour/export_format_specification.h"
-#include "pbd/filesystem.h"
-
#include "gui_thread.h"
#include "utils.h"
#include "i18n.h"
@@ -281,8 +279,7 @@ ExportFileNotebook::FilePage::update_example_filename()
}
if (example != "") {
- sys::path path(example);
- filename_selector.set_example_filename(path.leaf());
+ filename_selector.set_example_filename(Glib::path_get_basename (example));
} else {
filename_selector.set_example_filename("");
}