summaryrefslogtreecommitdiff
path: root/gtk2_ardour/vca_master_strip.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-23 18:25:49 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:41 -0400
commitb4c43f08785b8b971d09a1f543415e81395f4231 (patch)
tree3faec7445335dc621eeecfcdc5208381d262e6dd /gtk2_ardour/vca_master_strip.h
parentbe4e898996837f718627c34d62dd42e6825103b7 (diff)
improve clean-up of GUI VCA-related objects
Diffstat (limited to 'gtk2_ardour/vca_master_strip.h')
-rw-r--r--gtk2_ardour/vca_master_strip.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/vca_master_strip.h b/gtk2_ardour/vca_master_strip.h
index 1e71866310..30d18d54a8 100644
--- a/gtk2_ardour/vca_master_strip.h
+++ b/gtk2_ardour/vca_master_strip.h
@@ -44,7 +44,11 @@ class VCAMasterStrip : public AxisView, public Gtk::EventBox
std::string state_id() const { return "VCAMasterStrip"; }
boost::shared_ptr<ARDOUR::VCA> vca() const { return _vca; }
- private:
+ static PBD::Signal1<void,VCAMasterStrip*> CatchDeletion;
+
+ private:
+ ~VCAMasterStrip ();
+
boost::shared_ptr<ARDOUR::VCA> _vca;
Gtk::HBox vertical_padding;
ArdourButton name_button;
@@ -84,6 +88,7 @@ class VCAMasterStrip : public AxisView, public Gtk::EventBox
void vca_property_changed (PBD::PropertyChange const & what_changed);
void update_vca_name ();
void build_context_menu ();
+ void self_delete ();
};