From 522a00ed523b5290cf72701b4c1e1df2d2f2d2c0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 3 Sep 2014 13:07:47 -0400 Subject: [PATCH] clean up use of open_file_dialog() modified API --- gtk2_ardour/ardour_ui.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index f5a9316b94..bc04538dd4 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1408,18 +1408,7 @@ ARDOUR_UI::open_session () } string session_path = ""; -#ifdef __APPLE__ session_path = ARDOUR::open_file_dialog(Config->get_default_session_parent_dir(), _("Select Saved Session")); -#endif - -#ifdef _WIN32 - // Open the file save dialog, and choose the file name - string fileName; - if (open_file_dialog(fileName, Config->get_default_session_parent_dir(), _("Select Saved Session"))) { - - session_path = fileName; - } -#endif // cancel was pressed if(session_path == "")