summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-05 20:03:57 +0000
committerDavid Robillard <d@drobilla.net>2010-02-05 20:03:57 +0000
commit8d64ce26c4f6f7817958772c7593b9aac4b90db3 (patch)
tree913e052acb2de7fff6e50662f70bb4c7de5165f8 /gtk2_ardour/audio_time_axis.cc
parent249bc2f7443dfacb6b0ad06616196940e6fe1e6e (diff)
Remove weird/pointless Automatable::data().
git-svn-id: svn://localhost/ardour2/branches/3.0@6637 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc2
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;