diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-30 17:54:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-30 17:54:52 +0200 |
commit | 9b091a52cb77bfe9cce36668ebce714a1ec1eaae (patch) | |
tree | d1025e8e127ca88a555c0b005a794976ce5ebf6e /gtk2_ardour | |
parent | 00f26394a9f4ec5264b67fc79c40bf648e0747bf (diff) |
clean up 44fc92c3 (not a threading issue but sigc++ problem)
RouteUI is not sigc::trackable itself (only derived classes are)
RouteUI::~RouteUI() does not disconnect from signals on destruction.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 6a114b0e5f..c1dde89c39 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -171,7 +171,7 @@ RouteUI::init () monitor_disk_button->signal_button_press_event().connect (sigc::mem_fun(*this, &RouteUI::monitor_disk_press)); monitor_disk_button->signal_button_release_event().connect (sigc::mem_fun(*this, &RouteUI::monitor_disk_release)); - BusSendDisplayChanged.connect (*this, invalidator (*this), boost::bind(&RouteUI::bus_send_display_changed, this, _1), gui_context()); + BusSendDisplayChanged.connect_same_thread (*this, boost::bind(&RouteUI::bus_send_display_changed, this, _1)); } void |