mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
really fix 5 GLib-GObject-WARNING **: unable to set property fill-color' of type gchararray' from value of type `GdkColor'
git-svn-id: svn://localhost/trunk/ardour2@128 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
52eba2ccbe
commit
595d9ac41b
1 changed files with 5 additions and 5 deletions
|
|
@ -952,29 +952,29 @@ Editor::initialize_canvas ()
|
||||||
|
|
||||||
tempo_line = new ArdourCanvas::Line (*tempo_group, tempo_line_points);
|
tempo_line = new ArdourCanvas::Line (*tempo_group, tempo_line_points);
|
||||||
tempo_line->set_property ("width_pixels", 0);
|
tempo_line->set_property ("width_pixels", 0);
|
||||||
tempo_line->property_fill_color().set_value (0);;
|
tempo_line->property_fill_color().set_value ("#000000");
|
||||||
|
|
||||||
meter_line_points.push_back(Gnome::Art::Point (0, timebar_height));
|
meter_line_points.push_back(Gnome::Art::Point (0, timebar_height));
|
||||||
meter_line_points.push_back(Gnome::Art::Point(max_canvas_coordinate, timebar_height));
|
meter_line_points.push_back(Gnome::Art::Point(max_canvas_coordinate, timebar_height));
|
||||||
|
|
||||||
meter_line = new ArdourCanvas::Line (*meter_group, meter_line_points);
|
meter_line = new ArdourCanvas::Line (*meter_group, meter_line_points);
|
||||||
meter_line->set_property ("width_pixels", 0);
|
meter_line->set_property ("width_pixels", 0);
|
||||||
meter_line->property_fill_color().set_value (0);;
|
meter_line->property_fill_color().set_value ("#000000");
|
||||||
|
|
||||||
marker_line_points.push_back(Gnome::Art::Point (0, timebar_height));
|
marker_line_points.push_back(Gnome::Art::Point (0, timebar_height));
|
||||||
marker_line_points.push_back(Gnome::Art::Point(max_canvas_coordinate, timebar_height));
|
marker_line_points.push_back(Gnome::Art::Point(max_canvas_coordinate, timebar_height));
|
||||||
|
|
||||||
marker_line = new ArdourCanvas::Line (*marker_group, marker_line_points);
|
marker_line = new ArdourCanvas::Line (*marker_group, marker_line_points);
|
||||||
marker_line->set_property ("width_pixels", 0);
|
marker_line->set_property ("width_pixels", 0);
|
||||||
marker_line->property_fill_color().set_value (0);;
|
marker_line->property_fill_color().set_value ("#000000");
|
||||||
|
|
||||||
range_marker_line = new ArdourCanvas::Line (*range_marker_group, marker_line_points);
|
range_marker_line = new ArdourCanvas::Line (*range_marker_group, marker_line_points);
|
||||||
range_marker_line->set_property ("width_pixels", 0);
|
range_marker_line->set_property ("width_pixels", 0);
|
||||||
range_marker_line->property_fill_color().set_value (0);;
|
range_marker_line->property_fill_color().set_value ("#000000");
|
||||||
|
|
||||||
transport_marker_line = new ArdourCanvas::Line (*transport_marker_group, marker_line_points);
|
transport_marker_line = new ArdourCanvas::Line (*transport_marker_group, marker_line_points);
|
||||||
transport_marker_line->set_property ("width_pixels", 0);
|
transport_marker_line->set_property ("width_pixels", 0);
|
||||||
transport_marker_line->property_fill_color().set_value (0);;
|
transport_marker_line->property_fill_color().set_value ("#000000");
|
||||||
|
|
||||||
ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_loop_range_view), false));
|
ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_loop_range_view), false));
|
||||||
ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_punch_range_view), false));
|
ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_punch_range_view), false));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue