diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-03 00:52:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-03 00:52:45 +0000 |
commit | c3bfc3ec4e14d147d9c4c279eb6c73947781f956 (patch) | |
tree | 250b7e09a3552419249c317eec5258d08fe801ba /gtk2_ardour/automation_controller.h | |
parent | faa2b3a3ad9217b0bde341f50a398515aefd703a (diff) |
Stop crash on deleting a plugin when its generic UI window is open.
git-svn-id: svn://localhost/ardour2/branches/3.0@6626 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r-- | gtk2_ardour/automation_controller.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index e6d377ab26..a2168700e2 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -34,7 +34,7 @@ namespace ARDOUR { class Automatable; } - +/** A BarController which displays the value and allows control of an AutomationControl */ class AutomationController : public Gtkmm2ext::BarController { public: static boost::shared_ptr<AutomationController> create( @@ -51,6 +51,8 @@ public: void display_effective_value(); void value_adjusted(); + void stop_updating (); + private: AutomationController (boost::shared_ptr<ARDOUR::AutomationControl> ac, Gtk::Adjustment* adj); std::string get_label (int&); |