summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyboard.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2012-06-23 05:09:46 +0000
committerTim Mayberry <mojofunk@gmail.com>2012-06-23 05:09:46 +0000
commit218b63cc37ddb4a611e040e408e71b74bea8e6bb (patch)
treefe0bef5b5f758880ac46cb2366582b97a851b78a /gtk2_ardour/keyboard.cc
parent4b96a5b34de67b99cb89e34466a63bcac97fef42 (diff)
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
Diffstat (limited to 'gtk2_ardour/keyboard.cc')
-rw-r--r--gtk2_ardour/keyboard.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc
index 732118f338..98ffab1160 100644
--- a/gtk2_ardour/keyboard.cc
+++ b/gtk2_ardour/keyboard.cc
@@ -19,7 +19,6 @@
#include "pbd/error.h"
#include "pbd/file_utils.h"
-#include "pbd/filesystem.h"
#include "ardour/filesystem_paths.h"
@@ -60,10 +59,7 @@ ArdourKeyboard::setup_keybindings ()
/* set up the per-user bindings path */
- sys::path p (user_config_directory ());
- p /= "ardour.bindings";
-
- user_keybindings_path = p.to_string ();
+ user_keybindings_path = Glib::build_filename (user_config_directory(), "ardour.bindings");
if (Glib::file_test (user_keybindings_path, Glib::FILE_TEST_EXISTS)) {
std::pair<string,string> newpair;