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
This commit is contained in:
Carl Hetherington 2010-02-03 00:52:45 +00:00
parent faa2b3a3ad
commit c3bfc3ec4e
6 changed files with 26 additions and 8 deletions

View file

@ -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&);