Chris's work on the region list
[ardour.git] / gtk2_ardour / imageframe_socket_handler.cc
index 96b61cafdd301bedc783b692fa32013c31680e6e..2838be6f667295fe8885b48e3d0e9576a94c4683 100644 (file)
@@ -43,7 +43,8 @@
 
 #include "i18n.h"
 
-#include <ardour/session.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 {