major design changes: use glib event loop for MIDI thread/UI; rework design of BaseUI...
[ardour.git] / gtk2_ardour / editor_timefx.cc
index b52121f9c528a78b940c211ab76dadefe578dde6..65c8a833e8d80885e054c6ed36e3d788d214d4ed 100644 (file)
@@ -225,7 +225,7 @@ Editor::time_fx (RegionSelection& regions, float val, bool pitching)
        current_timefx->first_delete = current_timefx->signal_delete_event().connect
                (mem_fun (current_timefx, &TimeFXDialog::delete_in_progress));
 
-       if (pthread_create_and_store ("timefx", &current_timefx->request.thread, 0, timefx_thread, current_timefx)) {
+       if (pthread_create_and_store ("timefx", &current_timefx->request.thread, timefx_thread, current_timefx)) {
                current_timefx->hide ();
                error << _("timefx cannot be started - thread creation error") << endmsg;
                return -1;
@@ -337,7 +337,6 @@ Editor::do_timefx (TimeFXDialog& dialog)
 void*
 Editor::timefx_thread (void *arg)
 {
-       PBD::notify_gui_about_thread_creation (pthread_self(), X_("TimeFX"));
        SessionEvent::create_per_thread_pool ("timefx events", 64);
 
        TimeFXDialog* tsd = static_cast<TimeFXDialog*>(arg);