Replace use of PBD::sys::exists with Glib::file_test
[ardour.git] / gtk2_ardour / startup.cc
index ee598b08cbc81466a1191fbba76a95349a5bb60f..8e94ae916789ec0126f39743b40036ee69e60482 100644 (file)
@@ -123,7 +123,7 @@ Ardour will play NO role in monitoring"))
                set_default_icon_list (window_icons);
        }
 
-       new_user = !exists (been_here_before_path ());
+       new_user = !Glib::file_test(been_here_before_path().to_string(), Glib::FILE_TEST_EXISTS);
 
        bool need_audio_setup = !EngineControl::engine_running();