projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Connect Script Manager "Edit" -> Lua Scripting Window
[ardour.git]
/
gtk2_ardour
/
port_insert_ui.cc
diff --git
a/gtk2_ardour/port_insert_ui.cc
b/gtk2_ardour/port_insert_ui.cc
index 3c495f0e797c0c25255a1d103245c917079196fc..0bf86532995e0d4f15c205b51e29694cdb76bce7 100644
(file)
--- a/
gtk2_ardour/port_insert_ui.cc
+++ b/
gtk2_ardour/port_insert_ui.cc
@@
-28,9
+28,8
@@
#include "ardour/session.h"
#include "port_insert_ui.h"
#include "ardour/session.h"
#include "port_insert_ui.h"
-#include "utils.h"
#include "gui_thread.h"
#include "gui_thread.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace ARDOUR;
using namespace Gtk;
using namespace ARDOUR;
using namespace Gtk;
@@
-176,8
+175,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);
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
}
bool
@@
-187,15
+184,6
@@
PortInsertWindow::wm_delete (GdkEventAny* /*event*/)
return false;
}
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 ()
{
void
PortInsertWindow::on_map ()
{