From a7b6b681cc0e65e68700a39b990208a143e4228b Mon Sep 17 00:00:00 2001 From: Karsten Wiese Date: Sat, 26 Nov 2005 16:51:42 +0000 Subject: [PATCH] Editor::transport_punch*_line has no "outline_pixels". And it has "color_rgba", not "outline_color_rgba". Avoid 4 Gtk WARNINGS on startup with this change. git-svn-id: svn://localhost/trunk/ardour2@124 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor.cc | 7 ++----- 1 file 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