- if (pipe (signal_pipe)) {
- error << string_compose (_("%1-UI: cannot create error signal pipe (%2)"), _name, std::strerror (errno))
- << endmsg;
+ _main_loop = MainLoop::create (MainContext::create());
+ request_channel.ios()->attach (_main_loop->get_context());
+
+ /* glibmm hack - drop the refptr to the IOSource now before it can hurt */
+ request_channel.drop_ios ();
+
+ run_loop_thread = Thread::create (mem_fun (*this, &BaseUI::main_thread), true);
+}