summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-02-27 23:26:52 +0000
committerCarl Hetherington <carl@carlh.net>2009-02-27 23:26:52 +0000
commit1f81c127fe2dc0f23142a95ad90671bf8f3486c6 (patch)
treee68240b9935c51f442e43c7133c473400cb44959 /gtk2_ardour
parentbaf51996c4f152a0750c14a52f57ed1fcd04b8cc (diff)
Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4707 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc9
-rw-r--r--gtk2_ardour/editor.h4
-rw-r--r--gtk2_ardour/region_gain_line.h2
3 files changed, 0 insertions, 15 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 83a0d7428a..ee828c570a 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -3509,15 +3509,6 @@ Editor::State::~State ()
delete selection;
}
-UndoAction
-Editor::get_memento () const
-{
- State *state = new State (this);
-
- store_state (*state);
- return bind (mem_fun (*(const_cast<Editor*>(this)), &Editor::restore_state), state);
-}
-
void
Editor::store_state (State& state) const
{
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 6edbffa529..3a04ab1dbf 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -2075,10 +2075,6 @@ public:
void write_selection ();
- /* history */
-
- UndoAction get_memento() const;
-
XMLNode *before; /* used in *_reversible_command */
void begin_reversible_command (string cmd_name);
diff --git a/gtk2_ardour/region_gain_line.h b/gtk2_ardour/region_gain_line.h
index 6f446cabfc..dc24e6a5a6 100644
--- a/gtk2_ardour/region_gain_line.h
+++ b/gtk2_ardour/region_gain_line.h
@@ -45,8 +45,6 @@ class AudioRegionGainLine : public AutomationLine
private:
ARDOUR::Session& session;
AudioRegionView& rv;
-
- UndoAction get_memento();
};