X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fstrip_silence_dialog.cc;h=cd41950924d37f28dfe952b6d71739de30aceffb;hb=a5ae129a066747901ff1ed95368729b63cb6a70d;hp=71d25d648e8807e8e5be4e4be1e21dc4f4f5340c;hpb=a27e9a68b2be53809865b8145bb3d408f0994f47;p=ardour.git diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc index 71d25d648e..cd41950924 100644 --- a/gtk2_ardour/strip_silence_dialog.cc +++ b/gtk2_ardour/strip_silence_dialog.cc @@ -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 ();