diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-05 03:04:54 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-05 03:04:54 +0000 |
commit | abd80d0f64a4b32c3a8cce01c9aa1d6bc7ee64bb (patch) | |
tree | c46721af34d296670a6da0ce87eaaac1c5208f6f /gtk2_ardour/global_port_matrix.h | |
parent | bdf5dead24c16e23977d4b3d2561dbb0f8a7ae4e (diff) |
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
Diffstat (limited to 'gtk2_ardour/global_port_matrix.h')
-rw-r--r-- | gtk2_ardour/global_port_matrix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/global_port_matrix.h b/gtk2_ardour/global_port_matrix.h index 508376a9d1..8e13866f42 100644 --- a/gtk2_ardour/global_port_matrix.h +++ b/gtk2_ardour/global_port_matrix.h @@ -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 (); |