summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-12-08 18:53:43 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-12-08 18:53:43 +0000
commitcdd680f0b72a2081e05ad981d0467526310150c8 (patch)
tree6cf70c0e66058f9741025534cde8204814dc0ff9 /gtk2_ardour/marker.cc
parent9f91aca7622923ca35f049e69ec292e9f12aefb2 (diff)
meter/tempo bars show again, fix tempo/meter dialogs, and more
git-svn-id: svn://localhost/trunk/ardour2@183 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.cc')
-rw-r--r--gtk2_ardour/marker.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc
index a15697eb20..8a9ac674fc 100644
--- a/gtk2_ardour/marker.cc
+++ b/gtk2_ardour/marker.cc
@@ -240,10 +240,8 @@ Marker::Marker (PublicEditor& ed, ArdourCanvas::Group& parent, guint32 rgba, con
unit_position -= shift;
- group = &parent;
- group->property_x() = unit_position;
- group->property_y() = 1.0;
- // cerr << "set mark al points, nc = " << points->num_points << endl;
+ group = new Group (parent, unit_position, 1.0);
+
mark = new Polygon (*group);
mark->property_points() = *points;
mark->property_fill_color_rgba() = rgba;