diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:06:54 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:06:54 +0000 |
commit | 105caf23daf5aed16c7ee8b904fcca2ddbd4f59f (patch) | |
tree | 4d74f6c8722790e6fb9d58888ea225866fc98d3c /gtk2_ardour/keyboard.cc | |
parent | 22e478e7fc4952dd386391e85d8e7fa2491ae953 (diff) |
Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyboard.cc')
-rw-r--r-- | gtk2_ardour/keyboard.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc index 2fbd5812ad..732118f338 100644 --- a/gtk2_ardour/keyboard.cc +++ b/gtk2_ardour/keyboard.cc @@ -19,6 +19,7 @@ #include "pbd/error.h" #include "pbd/file_utils.h" +#include "pbd/filesystem.h" #include "ardour/filesystem_paths.h" @@ -124,7 +125,7 @@ ArdourKeyboard::setup_keybindings () if (!Glib::path_is_absolute (keybindings_path)) { /* not absolute - look in the usual places */ - sys::path keybindings_file; + std::string keybindings_file; if ( ! find_file_in_search_path (ardour_config_search_path(), keybindings_path, keybindings_file)) { @@ -142,7 +143,7 @@ ArdourKeyboard::setup_keybindings () /* use it */ - keybindings_path = keybindings_file.to_string(); + keybindings_path = keybindings_file; break; } |