Clean up and comment PortMatrix event handling a bit.

Fix problems with attempts to access Session after it has been
destroyed.


git-svn-id: svn://localhost/ardour2/branches/3.0@6290 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-12-05 03:04:54 +00:00
parent bdf5dead24
commit abd80d0f64
18 changed files with 130 additions and 92 deletions

View file

@ -29,7 +29,7 @@
class GlobalPortMatrix : public PortMatrix
{
public:
GlobalPortMatrix (Gtk::Window*, ARDOUR::Session&, ARDOUR::DataType);
GlobalPortMatrix (Gtk::Window*, ARDOUR::Session*, ARDOUR::DataType);
void setup_ports (int);
@ -60,7 +60,7 @@ private:
class GlobalPortMatrixWindow : public Gtk::Window
{
public:
GlobalPortMatrixWindow (ARDOUR::Session&, ARDOUR::DataType);
GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType);
private:
void on_show ();