diff options
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 7236c5dea6..af6cfda927 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -283,7 +283,7 @@ AudioTimeAxisView::ensure_pan_views (bool show) for (p = params.begin(); p != params.end(); ++p) { boost::shared_ptr<ARDOUR::AutomationControl> pan_control = boost::dynamic_pointer_cast<ARDOUR::AutomationControl>( - _route->panner()->data().control(*p)); + _route->panner()->control(*p)); if (pan_control->parameter().type() == NullAutomation) { error << "Pan control has NULL automation type!" << endmsg; |