summaryrefslogtreecommitdiff
path: root/gtk2_ardour/about.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/about.cc')
-rw-r--r--gtk2_ardour/about.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc
index 571f602e71..ab791aa555 100644
--- a/gtk2_ardour/about.cc
+++ b/gtk2_ardour/about.cc
@@ -553,15 +553,14 @@ About::About ()
{
// set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
- string path;
string t;
- sys::path splash_file;
+ std::string splash_file;
SearchPath spath(ardour_data_search_path());
if (find_file_in_search_path (spath, "splash.png", splash_file)) {
- set_logo (Gdk::Pixbuf::create_from_file (splash_file.to_string()));
+ set_logo (Gdk::Pixbuf::create_from_file (splash_file));
} else {
error << "Could not find splash file" << endmsg;
}