NOOP, re-indent, remove trailing whitespace, sort includes
[ardour.git] / gtk2_ardour / return_ui.cc
index 775f283947d5f7711f4d2e9576a24e25c15ba631..16c4720577579e037514aab841e0e608a0b9dacc 100644 (file)
@@ -23,7 +23,6 @@
 #include "ardour/rc_configuration.h"
 #include "ardour/return.h"
 
-#include "utils.h"
 #include "return_ui.h"
 #include "io_selector.h"
 #include "ardour_ui.h"
@@ -110,19 +109,9 @@ ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s)
 
        set_name ("ReturnUIWindow");
 
-       r->DropReferences.connect (going_away_connection, invalidator (*this), boost::bind (&ReturnUIWindow::return_going_away, this), gui_context());
 }
 
 ReturnUIWindow::~ReturnUIWindow ()
 {
        delete ui;
 }
-
-void
-ReturnUIWindow::return_going_away ()
-{
-       ENSURE_GUI_THREAD (*this, &ReturnUIWindow::return_going_away)
-       going_away_connection.disconnect ();
-       delete_when_idle (this);
-}
-