diff options
Diffstat (limited to 'gtk2_ardour/automation_streamview.h')
-rw-r--r-- | gtk2_ardour/automation_streamview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_streamview.h b/gtk2_ardour/automation_streamview.h index 3134d82c3f..d11de8113b 100644 --- a/gtk2_ardour/automation_streamview.h +++ b/gtk2_ardour/automation_streamview.h @@ -42,7 +42,7 @@ class AutomationRegionView; class AutomationStreamView : public StreamView { public: - AutomationStreamView (AutomationTimeAxisViewPtr tv); + AutomationStreamView (AutomationTimeAxisView& tv); ~AutomationStreamView (); void set_automation_state (ARDOUR::AutoState state); @@ -50,7 +50,7 @@ class AutomationStreamView : public StreamView void redisplay_diskstream (); inline double contents_height() const { - return (_trackview->current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); + return (_trackview.current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); } private: @@ -65,7 +65,7 @@ class AutomationStreamView : public StreamView boost::shared_ptr<AutomationController> _controller; - AutomationTimeAxisViewPtr _automation_view; + AutomationTimeAxisView& _automation_view; }; #endif /* __ardour_automation_streamview_h__ */ |