DEBUG ("WUI thread starting up");
+ /* This checks wui_gthread global which is actually set in the
+ * main thread. Of course, it might not be set if the WUI thread
+ * runs first. Hence we yield for the main thread to run.
+ */
+ g_thread_yield ();
ASSERT_IS_WUI_THREAD ();
g_async_queue_ref (queue);