Revert my revision 6996, which was wrong. Sources need to stay around in the session...
[ardour.git] / libs / pbd / base_ui.cc
index ea7e469c74964ce16ab3ea2ee71f252cdf1768db..ce7018a005293014c95b937468ef853c118deeed 100644 (file)
@@ -25,6 +25,7 @@
 #include <cstring>
 
 #include "pbd/base_ui.h"
+#include "pbd/pthread_utils.h"
 #include "pbd/error.h"
 #include "pbd/compose.h"
 #include "pbd/failed_constructor.h"
@@ -70,7 +71,7 @@ BaseUI::new_request_type ()
 void
 BaseUI::main_thread ()
 {
-       set_ui_for_thread (this);
+       set_event_loop_for_thread (this);
        thread_init ();
        _main_loop->run ();
 }