From 6b7fd786aa562f2cb67c631717543be4e9f43a01 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 13 Jan 2014 11:08:51 +0100 Subject: ProcessorWindowProxy::processor_going_away takes care of deletion --- gtk2_ardour/send_ui.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gtk2_ardour/send_ui.cc') 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 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); -} - -- cgit v1.2.3