summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-05-05 13:49:35 +0000
committerCarl Hetherington <carl@carlh.net>2011-05-05 13:49:35 +0000
commitbcaf808f7dd1c81701097ca22cee0bc38c10df59 (patch)
treecaf32775dfb3b3e003a2c676ba80e129a7cd73d9 /gtk2_ardour/ghostregion.h
parente0926ce2c662b59d75e13a51a13b9483bee3a683 (diff)
Make GhostRegion a sigc::trackable as MidiGhostRegion connects to signals. Fixes e.g. a crash on track resize after splitting a MIDI region with automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9482 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r--gtk2_ardour/ghostregion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h
index 2ebd33e64e..103d7ecf97 100644
--- a/gtk2_ardour/ghostregion.h
+++ b/gtk2_ardour/ghostregion.h
@@ -37,7 +37,7 @@ namespace Gnome {
class MidiStreamView;
class TimeAxisView;
-class GhostRegion
+class GhostRegion : public sigc::trackable
{
public:
GhostRegion(ArdourCanvas::Group* parent, TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos);