summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-12-14 20:01:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-12-14 20:01:18 +0000
commitdf5e700f90d9fd6c803e8e85c56f3fe8118bc101 (patch)
treef339e193e94f1ccee9892cc9f5680b7501cd88f2 /gtk2_ardour/midi_region_view.h
parent9882fe9ab035785f19f9e5c3bcf50e4c8accb119 (diff)
fix some more incorrect casts to CanvasNote rather than CanvasNoteEvent (fixes crashes when a track is in perc mode
git-svn-id: svn://localhost/ardour2/branches/3.0@8273 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 4d1252fab4..2b07c02382 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -223,8 +223,8 @@ class MidiRegionView : public RegionView
*/
void begin_resizing(bool at_front);
- void update_resizing (ArdourCanvas::CanvasNote *, bool, double, bool);
- void commit_resizing (ArdourCanvas::CanvasNote *, bool, double, bool);
+ void update_resizing (ArdourCanvas::CanvasNoteEvent*, bool, double, bool);
+ void commit_resizing (ArdourCanvas::CanvasNoteEvent*, bool, double, bool);
/** Change the channel of the selection.
* @param channel - the channel number of the new channel, zero-based