diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-21 11:44:22 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-21 11:44:22 -0400 |
commit | 0796ccfb652dd31ea1d94526e0e6d92863a972b0 (patch) | |
tree | 03150be4c68ad49a5734e6ecfd1258645b6ee35a /gtk2_ardour/hit.cc | |
parent | a8bd6ecc4fe4016090fad92daf6d9a572941d035 (diff) |
use newly factored canvas in gtk2_ardour
Diffstat (limited to 'gtk2_ardour/hit.cc')
-rw-r--r-- | gtk2_ardour/hit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<NoteType> note, bool with_events) +Hit::Hit (MidiRegionView& region, Item* parent, double size, const boost::shared_ptr<NoteType> 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); |