From 4297071b3f7360b17d81ef9cf36b8d75d46d2818 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Jul 2009 13:39:45 +0000 Subject: Use shared_ptr for the TimeAxisView hierarchy. git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/canvas-note-event.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/canvas-note-event.cc') diff --git a/gtk2_ardour/canvas-note-event.cc b/gtk2_ardour/canvas-note-event.cc index 77ef7b263f..55d7fabf80 100644 --- a/gtk2_ardour/canvas-note-event.cc +++ b/gtk2_ardour/canvas-note-event.cc @@ -220,7 +220,7 @@ CanvasNoteEvent::on_event(GdkEvent* ev) bool select_mod; uint8_t d_velocity = 10; - if (_region.get_time_axis_view().editor().current_mouse_mode() != Editing::MouseNote) { + if (_region.get_time_axis_view()->editor().current_mouse_mode() != Editing::MouseNote) { return false; } -- cgit v1.2.3