use running_from_source_tree()
[ardour.git] / gtk2_ardour / note.cc
index 3adcd751f8f8d8c2f2cb163684c1159bf2f5b986..ea12712e4a313e55fe408e8c5ebdf0ebca65c5c1 100644 (file)
 #include "canvas/debug.h"
 
 #include "note.h"
-#include "midi_region_view.h"
 #include "public_editor.h"
 
 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);