diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-26 16:51:42 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-26 16:51:42 +0000 |
commit | a7b6b681cc0e65e68700a39b990208a143e4228b (patch) | |
tree | 06ce2514212ae7f2f9736a890e21485472d7e3e5 /gtk2_ardour | |
parent | f5394edc4e3493f857019e23ba2ff3d0c99119dc (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.cc | 7 |
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 |