* Don't automatically use the thread context, unless that's what
was passed to run_closure_begin().
https://bugzilla.gnome.org/show_bug.cgi?id=678611
run_closure_begin (GMainContext *context)
{
RunClosure *closure = g_new0 (RunClosure, 1);
- closure->loop = g_main_loop_new (context ? context : g_main_context_get_thread_default (), FALSE);
+ closure->loop = g_main_loop_new (context, FALSE);
closure->result = NULL;
/* We assume ownership of context reference */