From abd80d0f64a4b32c3a8cce01c9aa1d6bc7ee64bb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 5 Dec 2009 03:04:54 +0000 Subject: 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 --- gtk2_ardour/global_port_matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/global_port_matrix.h') 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 (); -- cgit v1.2.3