summaryrefslogtreecommitdiff
path: root/gtk2_ardour/control_point.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/control_point.h')
-rw-r--r--gtk2_ardour/control_point.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/control_point.h b/gtk2_ardour/control_point.h
index 88b074f6f9..ed9c10e6d7 100644
--- a/gtk2_ardour/control_point.h
+++ b/gtk2_ardour/control_point.h
@@ -79,6 +79,9 @@ public:
ArdourCanvas::Item& item() const;
+ /* used from ~AutomationLine */
+ void unset_item () { _item = 0 ; }
+
ARDOUR::AutomationList::iterator model() const { return _model; }
AutomationLine& line() const { return _line; }