13
0

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
This commit is contained in:
Karsten Wiese 2005-11-26 16:51:42 +00:00
parent f5394edc4e
commit a7b6b681cc

View File

@ -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