diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index eb6a54e1a3..d75243691a 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -94,7 +94,7 @@ AutomationLine::AutomationLine (const string& name, TimeAxisView& tv, ArdourCanv group = new ArdourCanvas::Group (&parent); CANVAS_DEBUG_NAME (group, "region gain envelope group"); - line = new ArdourCanvas::Curve (group); + line = new ArdourCanvas::PolyLine (group); CANVAS_DEBUG_NAME (line, "region gain envelope line"); line->set_data ("line", this); line->set_outline_width (2.0); diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 816105b1e5..bb1e927ad5 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -38,7 +38,7 @@ #include "canvas/types.h" #include "canvas/group.h" -#include "canvas/curve.h" +#include "canvas/poly_line.h" class AutomationLine; class ControlPoint; @@ -174,7 +174,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible ArdourCanvas::Group& _parent_group; ArdourCanvas::Group* group; - ArdourCanvas::Curve* line; /* line */ + ArdourCanvas::PolyLine* line; /* line */ ArdourCanvas::Points line_points; /* coordinates for canvas line */ std::vector<ControlPoint*> control_points; /* visible control points */ |