summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_region_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_region_view.h')
-rw-r--r--gtk2_ardour/automation_region_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_region_view.h b/gtk2_ardour/automation_region_view.h
index 79ba84b2ef..dc0cc8f9ee 100644
--- a/gtk2_ardour/automation_region_view.h
+++ b/gtk2_ardour/automation_region_view.h
@@ -52,7 +52,7 @@ public:
inline AutomationTimeAxisView* automation_view() const
{ return dynamic_cast<AutomationTimeAxisView*>(&trackview); }
- AutomationLine& line() { return _line; }
+ boost::shared_ptr<AutomationLine> line() { return _line; }
// We are a ghost. Meta ghosts? Crazy talk.
virtual GhostRegion* add_ghost(AutomationTimeAxisView&) { return NULL; }
@@ -69,7 +69,7 @@ protected:
void exited();
private:
- AutomationLine _line;
+ boost::shared_ptr<AutomationLine> _line;
};
#endif /* __gtk_ardour_automation_region_view_h__ */