From c3bfc3ec4e14d147d9c4c279eb6c73947781f956 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Feb 2010 00:52:45 +0000 Subject: 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 --- gtk2_ardour/automation_controller.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_controller.h') 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 create( @@ -51,6 +51,8 @@ public: void display_effective_value(); void value_adjusted(); + void stop_updating (); + private: AutomationController (boost::shared_ptr ac, Gtk::Adjustment* adj); std::string get_label (int&); -- cgit v1.2.3