diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-29 01:35:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-29 10:06:25 +0100 |
commit | 58663db3743dbb5feddd9fc4221e7a328ef3b4ed (patch) | |
tree | 540cc34efde1549482e91f68390e1e7d727468d9 /gtk2_ardour/processor_box.h | |
parent | 784b96e255e67f5166e1c610dea950eaf0a1f025 (diff) |
change ownership of processor window-proxy
fixes crashes:
* If the Editor-Mixer shows a channel with a plugin that
has been edited in the Mixer, double-clicking the plugin
will try to bring up a 2nd instance of the plugin-UI.
* When closing Ardour both the Mixer and the Editor-Mixer try to delete the underlying plugin, resulting in a double free.
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index a40b8e7bb5..9622011654 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -91,9 +91,6 @@ class ProcessorWindowProxy : public WM::ProxyBase void toggle(); void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; } - bool marked; - bool valid () const; - void set_state (const XMLNode&); XMLNode& get_state () const; @@ -442,8 +439,8 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void route_property_changed (const PBD::PropertyChange&); std::string generate_processor_title (boost::shared_ptr<ARDOUR::PluginInsert> pi); - typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies; - ProcessorWindowProxies _processor_window_info; + //typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies; + //ProcessorWindowProxies _processor_window_info; ProcessorWindowProxy* find_window_proxy (boost::shared_ptr<ARDOUR::Processor>) const; |