diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-26 00:47:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-26 00:47:22 +0000 |
commit | 5695b1790e3fdee4f15a45ed507e41ac866917cd (patch) | |
tree | a53c735cf6b2264d5fa50b3927f1da7c5a175422 /libs/ardour/session_state.cc | |
parent | bcd511aa3fec59e1527c8b7ab80dabda4db1a6f9 (diff) |
remove StateManager code entirely and more debugging output cruft
git-svn-id: svn://localhost/ardour2/trunk@1008 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index d742186d6b..8a49636941 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1010,8 +1010,6 @@ Session::set_state (const XMLNode& node) return -1; } - StateManager::prohibit_save (); - if ((prop = node.property ("name")) != 0) { _name = prop->value (); } @@ -1147,10 +1145,6 @@ Session::set_state (const XMLNode& node) start_location = location; } -#ifdef STATE_MANAGER - _locations.save_state (_("initial state")); -#endif - if ((child = find_named_node (node, "EditGroups")) == 0) { error << _("Session: XML state has no edit groups section") << endmsg; goto out; @@ -1195,8 +1189,6 @@ Session::set_state (const XMLNode& node) _state_of_the_state = Clean; - StateManager::allow_save (_("initial state"), true); - if (state_was_pending) { save_state (_current_snapshot_name); remove_pending_capture_state (); @@ -1206,8 +1198,6 @@ Session::set_state (const XMLNode& node) return 0; out: - /* we failed, re-enable state saving but don't actually save internal state */ - StateManager::allow_save (X_("ignored"), false); return ret; } |