Make Bundles work a bit better. A few include optimisations.
[ardour.git] / gtk2_ardour / imageframe_socket_handler.cc
index 96b61cafdd301bedc783b692fa32013c31680e6e..dac36c6e2e3b5f7973643c6610974341309b7bfd 100644 (file)
@@ -44,6 +44,7 @@
 #include "i18n.h"
 
 #include <ardour/session.h>
+#include <ardour/session_utils.h>
 
 #include <unistd.h>
 
@@ -2062,7 +2063,7 @@ ImageFrameSocketHandler::handle_open_session(const char* msg)
        std::string path, name ;
        bool isnew;
 
-       if (ARDOUR::Session::find_session(session_name, path, name, isnew) == 0) {
+       if (ARDOUR::find_session(session_name, path, name, isnew) == 0) {
                if (ARDOUR_UI::instance()->load_session (path, name) == 0) {
                        send_return_success() ;
                } else {