summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-03-01 23:26:11 +0000
committerCarl Hetherington <carl@carlh.net>2011-03-01 23:26:11 +0000
commit90cbf4e708d48955e53793534956766d5bdabd13 (patch)
tree646bee9d5516b460d1d76851b539c9f5c318af1f /gtk2_ardour
parent115a1504702d39130fa263197a16382ec64f979f (diff)
Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9018 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.h3
-rw-r--r--gtk2_ardour/editor_ops.cc21
2 files changed, 0 insertions, 24 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 296224c5d6..3c1d886a11 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -1156,9 +1156,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void temporal_zoom_by_frame (framepos_t start, framepos_t end, const std::string & op);
void temporal_zoom_to_frame (bool coarser, framepos_t frame);
- void amplitude_zoom (gdouble scale);
- void amplitude_zoom_step (bool in);
-
void insert_region_list_drag (boost::shared_ptr<ARDOUR::Region>, int x, int y);
void insert_region_list_selection (float times);
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index bcae625c9d..d5e40d3abf 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1987,27 +1987,6 @@ Editor::add_location_from_region ()
_session->commit_reversible_command ();
}
-void
-Editor::amplitude_zoom_step (bool in)
-{
- gdouble zoom = 1.0;
-
- if (in) {
- zoom *= 2.0;
- } else {
- if (zoom > 2.0) {
- zoom /= 2.0;
- } else {
- zoom = 1.0;
- }
- }
-
-#ifdef FIX_FOR_CANVAS
- /* XXX DO SOMETHING */
-#endif
-}
-
-
/* DELETION */