diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 00:16:13 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 00:16:13 +0000 |
commit | 78d7d5fbd3cfb62097f002e81ab35b02f99db806 (patch) | |
tree | 0e5e575029645588c9c4c526c8e1200bc046cd0b /gtk2_ardour/editor.cc | |
parent | a7b6b681cc0e65e68700a39b990208a143e4228b (diff) |
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@125 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index d4d9ace167..0f62f48c2a 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->set_property ("fill_color", Gdk::Color ("#000000")); + tempo_line->property_fill_color().set_value (0);; 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->set_property ("fill_color", Gdk::Color ("#000000")); + meter_line->property_fill_color().set_value (0);; 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->set_property ("fill_color", Gdk::Color ("#000000")); + marker_line->property_fill_color().set_value (0);; 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 ("fill_color", Gdk::Color ("#000000")); + range_marker_line->property_fill_color().set_value (0);; 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 ("fill_color", Gdk::Color ("#000000")); + transport_marker_line->property_fill_color().set_value (0);; ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_loop_range_view), false)); ZoomChanged.connect (bind (mem_fun(*this, &Editor::update_punch_range_view), false)); |