mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Move Session::find_session into a session_utils.h header
git-svn-id: svn://localhost/ardour2/trunk@1865 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
09d6a96321
commit
1ca0e752fd
8 changed files with 188 additions and 156 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <ardour/version.h>
|
||||
#include <ardour/ardour.h>
|
||||
#include <ardour/audioengine.h>
|
||||
#include <ardour/session_utils.h>
|
||||
|
||||
#include <gtkmm/main.h>
|
||||
#include <gtkmm2ext/popup.h>
|
||||
|
|
@ -140,7 +141,7 @@ maybe_load_session ()
|
|||
|
||||
bool isnew;
|
||||
|
||||
if (Session::find_session (session_name, path, name, isnew)) {
|
||||
if (find_session (session_name, path, name, isnew)) {
|
||||
error << string_compose(_("could not load command line session \"%1\""), session_name) << endmsg;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue