summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-02-17 16:18:15 +0000
committerCarl Hetherington <carl@carlh.net>2011-02-17 16:18:15 +0000
commit81aef8b49138deea084942740de8dbfa2e30edc1 (patch)
treea9c9ad68bcac2c2a3ac39a9bbedbe98e79be5c74 /gtk2_ardour/midi_time_axis.cc
parent79f060adbd509d17863309ffcd390467b5965a9c (diff)
Minor tidying-up.
git-svn-id: svn://localhost/ardour2/branches/3.0@8882 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc22
1 files changed, 13 insertions, 9 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 3087f7be6b..84288db326 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -845,15 +845,19 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
boost::shared_ptr<AutomationControl> c = _route->get_control (param);
assert (c);
- boost::shared_ptr<AutomationTimeAxisView> track(new AutomationTimeAxisView (_session,
- _route,
- _route,
- c,
- _editor,
- *this,
- true,
- parent_canvas,
- _route->describe_parameter(param)));
+ boost::shared_ptr<AutomationTimeAxisView> track (
+ new AutomationTimeAxisView (
+ _session,
+ _route,
+ _route,
+ c,
+ _editor,
+ *this,
+ true,
+ parent_canvas,
+ _route->describe_parameter(param)
+ )
+ );
add_automation_child (param, track, show);
}