summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 66b49d3551..d4d9ace167 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -912,9 +912,7 @@ Editor::initialize_canvas ()
transport_punchin_line->set_property ("y1", 0.0);
transport_punchin_line->set_property ("x2", 0.0);
transport_punchin_line->set_property ("y2", 0.0);
-
- transport_punchin_line->set_property ("outline_color_rgba", color_map[cPunchInLine]);
- transport_punchin_line->set_property ("outline_pixels", 1);
+ transport_punchin_line->property_color_rgba().set_value (color_map[cPunchInLine]);
transport_punchin_line->hide ();
transport_punchout_line = new ArdourCanvas::SimpleLine (*time_line_group);
@@ -922,8 +920,7 @@ Editor::initialize_canvas ()
transport_punchout_line->set_property ("y1", 0.0);
transport_punchout_line->set_property ("x2", 0.0);
transport_punchout_line->set_property ("y2", 0.0);
- transport_punchout_line->set_property ("outline_color_rgba", color_map[cPunchOutLine]);
- transport_punchout_line->set_property ("outline_pixels", 1);
+ transport_punchout_line->property_color_rgba().set_value (color_map[cPunchOutLine]);
transport_punchout_line->hide();
// used to show zoom mode active zooming