summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-18 19:59:41 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-18 19:59:41 +0000
commit471ca9b1f5323df6c5510fab4eb512e8735ef5d5 (patch)
treeb1b80551ed6b1590f822b01d33fc8fe57d7a9176 /gtk2_ardour/midi_region_view.h
parent269590e1bfead5def1902798c7809ac5b2eb6f07 (diff)
Slightly clean up and fix unwanted display of percussive notes outside the note range. Should fix #3500.
git-svn-id: svn://localhost/ardour2/branches/3.0@7904 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 5b01bcb7b8..fa033782d9 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -402,7 +402,7 @@ class MidiRegionView : public RegionView
Events::iterator _optimization_iterator;
void update_note (ArdourCanvas::CanvasNote*);
- void update_hit (ArdourCanvas::CanvasHit*);
+ double update_hit (ArdourCanvas::CanvasHit *);
void create_ghost_note (double, double);
void update_ghost_note (double, double);