summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note-event.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-10 16:05:24 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-10 16:05:24 +0000
commit37a34bb8b0568ad28fa6c3697a2eab296b0af7ae (patch)
tree058b31ed4887c00f97e34a75645c737542f8b082 /gtk2_ardour/canvas-note-event.h
parent05b99bf8da5f5b2103bdd27049f691f1638e9dc9 (diff)
use a static per-class signal to notify the selection object in each MidiRegionView when note items are deleted. fixes crash on cut/undo/reselect and related operations
git-svn-id: svn://localhost/ardour2/branches/3.0@7092 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r--gtk2_ardour/canvas-note-event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h
index 9546141d8b..af5dd24102 100644
--- a/gtk2_ardour/canvas-note-event.h
+++ b/gtk2_ardour/canvas-note-event.h
@@ -62,6 +62,8 @@ public:
virtual ~CanvasNoteEvent();
+ static PBD::Signal1<void,CanvasNoteEvent*> CanvasNoteEventDeleted;
+
virtual void show() = 0;
virtual void hide() = 0;
virtual bool on_event(GdkEvent* ev);