fix cURL/SSL
[ardour.git] / gtk2_ardour / strip_silence_dialog.cc
index 71d25d648e8807e8e5be4e4be1e21dc4f4f5340c..87125b2298b87cc0e18141ed9d1c12b53fceb32a 100644 (file)
@@ -32,7 +32,7 @@
 #include "strip_silence_dialog.h"
 #include "region_view.h"
 #include "rgb_macros.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 #include "logmeter.h"
 
 using namespace ARDOUR;
@@ -237,7 +237,10 @@ StripSilenceDialog::_detection_thread_work (void* arg)
 void *
 StripSilenceDialog::detection_thread_work ()
 {
-       ARDOUR_UI::instance()->register_thread ("gui", pthread_self(), "silence", 32);
+       /* Do not register with all UIs, but do register with the GUI,
+          because we will need to queue some GUI (only) requests
+       */
+       ARDOUR_UI::instance()->register_thread (pthread_self(), "silence", 32);
 
        /* Hold this lock when we are doing work */
        _lock.lock ();