summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/note.cc')
-rw-r--r--gtk2_ardour/note.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc
index 3adcd751f8..dc8decf837 100644
--- a/gtk2_ardour/note.cc
+++ b/gtk2_ardour/note.cc
@@ -31,9 +31,9 @@ using namespace ARDOUR;
using namespace ArdourCanvas;
Note::Note (
- MidiRegionView& region, Group* group, const boost::shared_ptr<NoteType> note, bool with_events)
+ MidiRegionView& region, Item* parent, const boost::shared_ptr<NoteType> note, bool with_events)
: NoteBase (region, with_events, note)
- , _rectangle (new ArdourCanvas::Rectangle (group))
+ , _rectangle (new ArdourCanvas::Rectangle (parent))
{
CANVAS_DEBUG_NAME (_rectangle, "note");
set_item (_rectangle);