diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-14 11:17:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-14 11:17:14 +0000 |
commit | d7829cf96a71e60e2723098f6feb712914b99589 (patch) | |
tree | c4ca2c6d1a824460b355165630dfe4c34be4a505 | |
parent | 359e4c86565549818be2be31ecd340c0581eb421 (diff) |
Remove a little unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11678 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/editor.cc | 10 | ||||
-rw-r--r-- | gtk2_ardour/editor.h | 8 |
2 files changed, 0 insertions, 18 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index d77296b07e..7cebd04d98 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -3185,16 +3185,6 @@ Editor::map_transport_state () /* UNDO/REDO */ -Editor::State::State (PublicEditor const * e) -{ - selection = new Selection (e); -} - -Editor::State::~State () -{ - delete selection; -} - void Editor::begin_reversible_command (string name) { diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 327eafea57..943eeb76df 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -1808,14 +1808,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void update_title (); void update_title_s (const std::string & snapshot_name); - struct State { - Selection* selection; - double frames_per_unit; - - State (PublicEditor const * e); - ~State (); - }; - void instant_save (); boost::shared_ptr<ARDOUR::AudioRegion> last_audition_region; |