diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-13 11:08:51 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-13 09:39:50 -0500 |
commit | 6b7fd786aa562f2cb67c631717543be4e9f43a01 (patch) | |
tree | b56b20e11c062946c8c2d5d146b8f5c3dbeb353a /gtk2_ardour/send_ui.cc | |
parent | 2edc3d1b74c14bf4c704f564f80d75a5ef3d5dca (diff) |
ProcessorWindowProxy::processor_going_away takes care of deletion
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r-- | gtk2_ardour/send_ui.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc index 5b7bd10750..019307fd16 100644 --- a/gtk2_ardour/send_ui.cc +++ b/gtk2_ardour/send_ui.cc @@ -133,19 +133,9 @@ SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session) ui->show (); hpacker.show (); - s->DropReferences.connect (going_away_connection, invalidator (*this), boost::bind (&SendUIWindow::send_going_away, this), gui_context()); } SendUIWindow::~SendUIWindow () { delete ui; } - -void -SendUIWindow::send_going_away () -{ - ENSURE_GUI_THREAD (*this, &SendUIWindow::send_going_away) - going_away_connection.disconnect (); - delete_when_idle (this); -} - |