diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-20 03:20:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-20 03:20:37 +0000 |
commit | a4b8921a82b7b8b09f4daec6ad3faf144f3b804d (patch) | |
tree | 85887f9faff609476889348e65f2a507cbd8f509 /libs/ardour/session.cc | |
parent | c6ca7ce48fb1339040878fb2af9958894bcee1b6 (diff) |
try to make NewSessionDialog only show up when really needed, and only have necessary tabs; clear out several track control buttons and simplify track header context menu for SAE mode
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2799 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index d867041f90..2534e58d00 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -259,9 +259,9 @@ Session::find_session (string str, string& path, string& snapshot, bool& isnew) } Session::Session (AudioEngine &eng, - string fullpath, - string snapshot_name, - string* mix_template) + const string& fullpath, + const string& snapshot_name, + string mix_template) : _engine (eng), _mmc_port (default_mmc_port), @@ -361,7 +361,7 @@ Session::Session (AudioEngine &eng, new_session = !g_file_test (_path.c_str(), GFileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)); if (new_session) { - if (create (new_session, 0, initial_length)) { + if (create (new_session, string(), initial_length)) { destroy (); throw failed_constructor (); } |