summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_insert_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_insert_ui.cc')
-rw-r--r--gtk2_ardour/port_insert_ui.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk2_ardour/port_insert_ui.cc b/gtk2_ardour/port_insert_ui.cc
index 3c495f0e79..2a982eabc1 100644
--- a/gtk2_ardour/port_insert_ui.cc
+++ b/gtk2_ardour/port_insert_ui.cc
@@ -176,8 +176,6 @@ PortInsertWindow::PortInsertWindow (ARDOUR::Session* sess, boost::shared_ptr<ARD
ok_but->signal_clicked().connect (sigc::mem_fun (*this, &PortInsertWindow::accept));
signal_delete_event().connect (sigc::mem_fun (*this, &PortInsertWindow::wm_delete), false);
-
- pi->DropReferences.connect (going_away_connection, invalidator (*this), boost::bind (&PortInsertWindow::plugin_going_away, this), gui_context());
}
bool
@@ -188,15 +186,6 @@ PortInsertWindow::wm_delete (GdkEventAny* /*event*/)
}
void
-PortInsertWindow::plugin_going_away ()
-{
- ENSURE_GUI_THREAD (*this, &PortInsertWindow::plugin_going_away)
-
- going_away_connection.disconnect ();
- delete_when_idle (this);
-}
-
-void
PortInsertWindow::on_map ()
{
_portinsertui.redisplay ();