X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fport_insert_ui.cc;h=a742740e5a607148ef3f84b53a466b516d2082b6;hb=0784660d912c171b0559991a2bea3478d35f52b9;hp=3c495f0e797c0c25255a1d103245c917079196fc;hpb=616f2a0370a10dcc7372a95f6bca9f5a45698980;p=ardour.git diff --git a/gtk2_ardour/port_insert_ui.cc b/gtk2_ardour/port_insert_ui.cc index 3c495f0e79..a742740e5a 100644 --- a/gtk2_ardour/port_insert_ui.cc +++ b/gtk2_ardour/port_insert_ui.cc @@ -28,7 +28,6 @@ #include "ardour/session.h" #include "port_insert_ui.h" -#include "utils.h" #include "gui_thread.h" #include "i18n.h" @@ -176,8 +175,6 @@ PortInsertWindow::PortInsertWindow (ARDOUR::Session* sess, boost::shared_ptrsignal_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 @@ -187,15 +184,6 @@ PortInsertWindow::wm_delete (GdkEventAny* /*event*/) return false; } -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 () {