Fix finding session templates
[ardour.git] / gtk2_ardour / midi_region_view.h
index 213d97795ecdea16731efac5a21b79e63c41e7c5..3fd6625ce90c18c4103788ac5b7fb2e946657324 100644 (file)
@@ -67,7 +67,7 @@ public:
        typedef Evoral::Note<Evoral::MusicalTime> NoteType;
        typedef Evoral::Sequence<Evoral::MusicalTime>::Notes Notes;
 
-       MidiRegionView (ArdourCanvas::Layout *,
+       MidiRegionView (ArdourCanvas::Container *,
                        RouteTimeAxisView&,
                        boost::shared_ptr<ARDOUR::MidiRegion>,
                        double initial_samples_per_pixel,
@@ -309,7 +309,7 @@ protected:
        /** Allows derived types to specify their visibility requirements
         * to the TimeAxisViewItem parent class.
         */
-       MidiRegionView (ArdourCanvas::Layout *,
+       MidiRegionView (ArdourCanvas::Container *,
                        RouteTimeAxisView&,
                        boost::shared_ptr<ARDOUR::MidiRegion>,
                        double samples_per_pixel,
@@ -387,7 +387,7 @@ private:
        PatchChanges                         _patch_changes;
        SysExes                              _sys_exes;
        Note**                               _active_notes;
-       ArdourCanvas::Layout*                 _note_group;
+       ArdourCanvas::Container*                 _note_group;
        ARDOUR::MidiModel::NoteDiffCommand*  _note_diff_command;
        Note*                                _ghost_note;
        double                               _last_ghost_x;
@@ -401,7 +401,7 @@ private:
        /** A group used to temporarily reparent _note_group to during start trims, so
         *  that the notes don't move with the parent region view.
         */
-       ArdourCanvas::Layout*                 _temporary_note_group;
+       ArdourCanvas::Container*                 _temporary_note_group;
 
        MouseState _mouse_state;
        int _pressed_button;