summaryrefslogtreecommitdiff
path: root/gtk2_ardour/send_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-01-13 11:08:51 +0100
committerRobin Gareus <robin@gareus.org>2014-01-13 11:08:51 +0100
commit35aed0efab378af00031c6a75187c962f05d7bd7 (patch)
tree93982529dea1a988987147921c56604073b765e2 /gtk2_ardour/send_ui.cc
parent1146d58d212423f67f19a490b6832d0496fa9e77 (diff)
ProcessorWindowProxy::processor_going_away takes care of deletion
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r--gtk2_ardour/send_ui.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc
index 54663dbe0a..90ee52b3ad 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);
-}
-