set_name ("IOSelectorWindow2");
set_title (_("I/O selector"));
- add (_selector);
+ Gtk::Alignment* alignment = manage(new Gtk::Alignment(0.5, 0.5, 0.0, 0.0));
+ alignment->add (_selector);
+ add (*alignment);
set_position (Gtk::WIN_POS_MOUSE);
signal_delete_event().connect (sigc::mem_fun (*this, &PortInsertWindow::wm_delete), false);
- pi->GoingAway.connect (going_away_connection, boost::bind (&PortInsertWindow::plugin_going_away, this));
+ pi->DropReferences.connect (going_away_connection, boost::bind (&PortInsertWindow::plugin_going_away, this), gui_context());
}
bool