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
This commit is contained in:
Carl Hetherington 2011-05-05 13:49:35 +00:00
parent e0926ce2c6
commit bcaf808f7d

View file

@ -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);