From 7eb40ae6c8db515b8a9407fc29b2db1be87c35ff Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Jan 2014 10:52:27 -0500 Subject: [PATCH] slight code replacement --- gtk2_ardour/midi_region_view.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index a576de48fd..a1ae03f253 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -389,13 +389,6 @@ MidiRegionView::canvas_group_event(GdkEvent* ev) return trackview.editor().canvas_region_view_event (ev, group, this); } -void -MidiRegionView::remove_ghost_note () -{ - delete _ghost_note; - _ghost_note = 0; -} - bool MidiRegionView::enter_notify (GdkEventCrossing* ev) { @@ -3548,6 +3541,13 @@ MidiRegionView::create_ghost_note (double x, double y) show_verbose_cursor (_ghost_note->note ()); } +void +MidiRegionView::remove_ghost_note () +{ + delete _ghost_note; + _ghost_note = 0; +} + void MidiRegionView::snap_changed () {