From 595d9ac41bd47f8da49df392faed544d847816b7 Mon Sep 17 00:00:00 2001 From: Karsten Wiese Date: Sun, 27 Nov 2005 13:32:52 +0000 Subject: [PATCH] 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 --- gtk2_ardour/editor.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 0f62f48c2a..2338757285 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -952,29 +952,29 @@ Editor::initialize_canvas () tempo_line = new ArdourCanvas::Line (*tempo_group, tempo_line_points); 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(max_canvas_coordinate, timebar_height)); meter_line = new ArdourCanvas::Line (*meter_group, meter_line_points); 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(max_canvas_coordinate, timebar_height)); marker_line = new ArdourCanvas::Line (*marker_group, marker_line_points); 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->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->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_punch_range_view), false));