From 0796ccfb652dd31ea1d94526e0e6d92863a972b0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 21 Jun 2014 11:44:22 -0400 Subject: use newly factored canvas in gtk2_ardour --- gtk2_ardour/hit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/hit.cc') diff --git a/gtk2_ardour/hit.cc b/gtk2_ardour/hit.cc index 69dd8d5bc8..c06160f3b2 100644 --- a/gtk2_ardour/hit.cc +++ b/gtk2_ardour/hit.cc @@ -30,10 +30,10 @@ using namespace ARDOUR; using namespace ArdourCanvas; -Hit::Hit (MidiRegionView& region, Group* group, double size, const boost::shared_ptr note, bool with_events) +Hit::Hit (MidiRegionView& region, Item* parent, double size, const boost::shared_ptr note, bool with_events) : NoteBase (region, with_events, note) { - _polygon = new ArdourCanvas::Polygon (group); + _polygon = new ArdourCanvas::Polygon (parent); CANVAS_DEBUG_NAME (_polygon, "note"); set_item (_polygon); set_height (size); -- cgit v1.2.3