diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-21 11:44:22 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-21 11:44:22 -0400 |
commit | 0796ccfb652dd31ea1d94526e0e6d92863a972b0 (patch) | |
tree | 03150be4c68ad49a5734e6ecfd1258645b6ee35a /gtk2_ardour/automation_line.cc | |
parent | a8bd6ecc4fe4016090fad92daf6d9a572941d035 (diff) |
use newly factored canvas in gtk2_ardour
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 670083e0d4..4040f8d3bd 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -70,7 +70,7 @@ using namespace Editing; /** @param converter A TimeConverter whose origin_b is the start time of the AutomationList in session frames. * This will not be deleted by AutomationLine. */ -AutomationLine::AutomationLine (const string& name, TimeAxisView& tv, ArdourCanvas::Group& parent, +AutomationLine::AutomationLine (const string& name, TimeAxisView& tv, ArdourCanvas::Item& parent, boost::shared_ptr<AutomationList> al, Evoral::TimeConverter<double, framepos_t>* converter) : trackview (tv) @@ -99,7 +99,7 @@ AutomationLine::AutomationLine (const string& name, TimeAxisView& tv, ArdourCanv terminal_points_can_slide = true; _height = 0; - group = new ArdourCanvas::Group (&parent); + group = new ArdourCanvas::Layout (&parent); CANVAS_DEBUG_NAME (group, "region gain envelope group"); line = new ArdourCanvas::PolyLine (group); |