summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorsolido <solido@dummy.example.com>2005-11-14 08:38:16 +0000
committersolido <solido@dummy.example.com>2005-11-14 08:38:16 +0000
commitf0416627d63d94cac80e7fc2e0e585b79a8147f0 (patch)
treef62292c10e578f85f259e22f036e609982fd0fa9 /gtk2_ardour/audio_time_axis.cc
parent3c6f29ceeacc6bf2f393169792903a730dd84ad7 (diff)
support for glade and new new session dialog
git-svn-id: svn://localhost/trunk/ardour2@88 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 5f9c020025..af98f55d68 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -1199,14 +1199,21 @@ AudioTimeAxisView::add_gain_automation_child ()
XMLProperty* prop;
AutomationLine* line;
- gain_track = new GainAutomationTimeAxisView (_session, _route, editor, *this, parent_canvas, _("gain"),
+ gain_track = new GainAutomationTimeAxisView (_session,
+ _route,
+ editor,
+ *this,
+ parent_canvas,
+ _("gain"),
_route.gain_automation_curve());
sigc::slot<bool,GdkEvent*,ControlPoint*> cslot = mem_fun (editor, &PublicEditor::canvas_control_point_event);
sigc::slot<bool,GdkEvent*,AutomationLine*> lslot = mem_fun (editor, &PublicEditor::canvas_line_event);
- line = new AutomationGainLine ("automation gain", _session, *gain_track,
+ line = new AutomationGainLine ("automation gain",
+ _session,
+ *gain_track,
*gain_track->canvas_display,
_route.gain_automation_curve(), cslot, lslot);