diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 22:35:04 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 22:35:04 +0000 |
commit | 1184029638aea5fe6a53175d226371ec9214eb17 (patch) | |
tree | b378e0c4b9b5283353c5f0f6ec63f186dfc91fa7 /gtk2_ardour/automation_time_axis.cc | |
parent | 1f16781c75205b43ac193596d1449de343693a6f (diff) |
convert set_property("foo", bar) to property_foo() = bar
git-svn-id: svn://localhost/trunk/ardour2@133 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 9e3fb09a4a..286730bf14 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -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); |