diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-17 16:18:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-17 16:18:15 +0000 |
commit | 81aef8b49138deea084942740de8dbfa2e30edc1 (patch) | |
tree | a9c9ad68bcac2c2a3ac39a9bbedbe98e79be5c74 /gtk2_ardour/midi_time_axis.cc | |
parent | 79f060adbd509d17863309ffcd390467b5965a9c (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.cc | 22 |
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); } |