diff --git a/glib/gmain.c b/glib/gmain.c index 760f1792b..60c80c762 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -2976,7 +2976,7 @@ g_main_context_check (GMainContext *context, return FALSE; } - if (context->wake_up_rec.events) + if (context->wake_up_rec.revents) g_wakeup_acknowledge (context->wakeup); /* If the set of poll file descriptors changed, bail out