Chris's work on the region list
[ardour.git] / gtk2_ardour / imageframe_socket_handler.cc
index a7f4d603a730f48a7ef25ac184846e8ec0f37298..2838be6f667295fe8885b48e3d0e9576a94c4683 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <iostream>
@@ -44,7 +43,8 @@
 
 #include "i18n.h"
 
-#include <ardour/session.h>
+#include "ardour/session.h"
+#include "ardour/session_utils.h"
 
 #include <unistd.h>
 
@@ -2063,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 {