fix a huge mess with sends, involving incorrect GUI cleanup, an unhandled exception...
[ardour.git] / gtk2_ardour / send_ui.h
index 2d041bb4fe82a2184d28c97e9f81339dcf4ab0df..3d6e9c7fa924c6c3cc403b1c83ab2ca9403a067d 100644 (file)
@@ -42,6 +42,8 @@ class SendUI : public Gtk::HBox
 
        IOSelector* io;
 
+       boost::shared_ptr<ARDOUR::Send>& send() { return _send; }
+
   private:
        boost::shared_ptr<ARDOUR::Send> _send;
        ARDOUR::Session& _session;
@@ -70,6 +72,7 @@ class SendUIWindow : public Gtk::Window
        Gtk::HBox hpacker;
 
        void send_going_away ();
+       sigc::connection going_away_connection;
 };
 
 #endif /* __ardour_gtk_send_ui_h__ */