Remove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent
authorTim Mayberry <mojofunk@gmail.com>
Sat, 23 Jun 2012 05:08:53 +0000 (05:08 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 23 Jun 2012 05:08:53 +0000 (05:08 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12879 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/export_file_notebook.cc

index 1d31365e9363002f4316b92e4225075b3702f031..2d13da32ba108264b92f3d6351cbae6fbaad8e5e 100644 (file)
@@ -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("");
                }