X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fnote.cc;h=bc10d79d8b0c4ab4cd9eb37fdd6c72a72a24ffc9;hb=5fef65538040fbac1b9edd1847a269aa925a49c9;hp=dc8decf83776d6a76e1d5abe6705d549f59c377f;hpb=ad017365f7a73f8ba57f667cc1aa36478b48c50e;p=ardour.git diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index dc8decf837..bc10d79d8b 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -24,7 +24,6 @@ #include "canvas/debug.h" #include "note.h" -#include "midi_region_view.h" #include "public_editor.h" using namespace ARDOUR; @@ -33,7 +32,7 @@ using namespace ArdourCanvas; Note::Note ( MidiRegionView& region, Item* parent, const boost::shared_ptr note, bool with_events) : NoteBase (region, with_events, note) - , _rectangle (new ArdourCanvas::Rectangle (parent)) + , _rectangle (new ArdourCanvas::TimeRectangle (parent)) { CANVAS_DEBUG_NAME (_rectangle, "note"); set_item (_rectangle);