diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-11 09:50:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-11 09:50:58 +0000 |
commit | 8f371cd60d3d2680dfd8de7702eb5f43c9f23240 (patch) | |
tree | 7c66a0f3b2f1ddcbaef94264dd49b751e3be7f47 /gtk2_ardour | |
parent | 9e4fc0e57f84207c28cd2f2ea78a4e5660c112a6 (diff) |
Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12649 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 17 | ||||
-rw-r--r-- | gtk2_ardour/automation_controller.h | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index bb51b94fc4..a80a474232 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -138,23 +138,6 @@ AutomationController::end_touch () } void -AutomationController::automation_state_changed () -{ - ENSURE_GUI_THREAD (*this, &AutomationController::automation_state_changed) - - bool x = (_controllable->automation_state() != Off); - - /* start watching automation so that things move */ - - _screen_update_connection.disconnect(); - - if (x) { - _screen_update_connection = ARDOUR_UI::RapidScreenUpdate.connect ( - sigc::mem_fun (*this, &AutomationController::display_effective_value)); - } -} - -void AutomationController::value_changed () { Gtkmm2ext::UI::instance()->call_slot (invalidator (*this), boost::bind (&AutomationController::display_effective_value, this)); diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index 0392d8c9a4..88e6d87e01 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -62,7 +62,6 @@ private: void end_touch(); void value_changed(); - void automation_state_changed(); bool _ignore_change; boost::shared_ptr<ARDOUR::Automatable> _printer; |