convert set_property("foo", bar) to property_foo() = bar
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 9e3fb09a4a795060f59e8a5bdf4bbca0c0f5e5ce..286730bf14090f4a4b52f7a53c24d34ee8c1f96c 100644 (file)
@@ -66,13 +66,13 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, Route& r, PublicEdit
        //                       "fill_color_rgba", color_map[cAutomationTrackFill],
        //                       NULL);
        base_rect = new SimpleRect(*canvas_display);
-       base_rect->set_property ("x1", 0.0);
-       base_rect->set_property ("y1", 0.0);
-       base_rect->set_property ("x2", 1000000.0);
-       base_rect->set_property ("outline_color_rgba", color_map[cAutomationTrackOutline]);
+       base_rect->property_x1() = 0.0;
+       base_rect->property_y1() = 0.0;
+       base_rect->property_x2() = 1000000.0;
+       base_rect->property_outline_color_rgba() = color_map[cAutomationTrackOutline];
        /* outline ends and bottom */
-       base_rect->set_property ("outline_what", (guint32) (0x1|0x2|0x8));
-       base_rect->set_property ("fill_color_rgba", color_map[cAutomationTrackFill]);
+       base_rect->property_outline_what() = (guint32) (0x1|0x2|0x8);
+       base_rect->property_fill_color_rgba() = color_map[cAutomationTrackFill];
        
        base_rect->set_data ("trackview", this);