* Added CanvasSysEx class for displaying SysExes
[ardour.git] / gtk2_ardour / imageframe_socket_handler.cc
index a7f4d603a730f48a7ef25ac184846e8ec0f37298..dac36c6e2e3b5f7973643c6610974341309b7bfd 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>
@@ -45,6 +44,7 @@
 #include "i18n.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 {