Remove a little unused code.
authorCarl Hetherington <carl@carlh.net>
Wed, 14 Mar 2012 11:17:14 +0000 (11:17 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 14 Mar 2012 11:17:14 +0000 (11:17 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11678 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor.cc
gtk2_ardour/editor.h

index d77296b07e2b9d9f45d477f65423ed926cff7fdd..7cebd04d98c0829ab771333d122c7021b0549491 100644 (file)
@@ -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)
 {
index 327eafea579a686f61bf49cae3ae7115173aebc7..943eeb76df66ec2496e7739964d7882a88226259 100644 (file)
@@ -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;