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/processor_box.cc | |
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/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 6048e84163..2b0c7ccafc 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -842,7 +842,7 @@ ProcessorBox::choose_send () is closed. */ - IOSelectorWindow *ios = new IOSelectorWindow (_session, send->output(), true); + IOSelectorWindow *ios = new IOSelectorWindow (&_session, send->output(), true); ios->show_all (); /* keep a reference to the send so it doesn't get deleted while @@ -1503,7 +1503,7 @@ ProcessorBox::edit_processor (boost::shared_ptr<Processor> processor) PortInsertWindow *io_selector; if (port_insert->get_gui() == 0) { - io_selector = new PortInsertWindow (_session, port_insert); + io_selector = new PortInsertWindow (&_session, port_insert); port_insert->set_gui (io_selector); } else { |