summaryrefslogtreecommitdiff
path: root/gtk2_ardour/splash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/splash.cc')
-rw-r--r--gtk2_ardour/splash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc
index 6cc4cd5ded..5643adbd6a 100644
--- a/gtk2_ardour/splash.cc
+++ b/gtk2_ardour/splash.cc
@@ -41,14 +41,14 @@ Splash::Splash ()
{
assert (the_splash == 0);
- sys::path splash_file;
+ std::string splash_file;
if (!find_file_in_search_path (ardour_data_search_path(), "splash.png", splash_file)) {
throw failed_constructor();
}
try {
- pixbuf = Gdk::Pixbuf::create_from_file (splash_file.to_string());
+ pixbuf = Gdk::Pixbuf::create_from_file (splash_file);
}
catch (...) {