diff options
Diffstat (limited to 'libs/pbd/filesystem.cc')
-rw-r--r-- | libs/pbd/filesystem.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/filesystem.cc b/libs/pbd/filesystem.cc index 4f0c8a204a..4e39374b98 100644 --- a/libs/pbd/filesystem.cc +++ b/libs/pbd/filesystem.cc @@ -211,10 +211,10 @@ extension (const path & p) } -path -get_absolute_path (const path & p) +std::string +get_absolute_path (const std::string & p) { - Glib::RefPtr<Gio::File> f = Gio::File::create_for_path (p.to_string ()); + Glib::RefPtr<Gio::File> f = Gio::File::create_for_path (p); return f->get_path (); } |