diff options
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_dialog.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 84202d57ea..0f5c6a4551 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -18,7 +18,6 @@ */ -#include "export_dialog.h" #include <sigc++/signal.h> @@ -27,6 +26,9 @@ #include "ardour/export_status.h" #include "ardour/export_handler.h" +#include "export_dialog.h" +#include "gui_thread.h" + using namespace ARDOUR; using namespace PBD; @@ -86,7 +88,8 @@ ExportDialog::set_session (ARDOUR::Session* s) timespan_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings)); channel_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings)); file_notebook->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings)); - status->Aborting.connect (abort_connection, sigc::mem_fun (*this, &ExportDialog::notify_errors)); + + status->Aborting.connect (abort_connection, boost::bind (&ExportDialog::notify_errors, this), gui_context()); update_warnings (); } |