*/event: Never manipulate the event queue directly

Always use _clutter_event_push() instead.
This commit is contained in:
Emmanuele Bassi
2011-01-19 16:34:49 +00:00
parent 400ecdfc81
commit 0f56abf569
4 changed files with 10 additions and 29 deletions

View File

@ -139,13 +139,10 @@ clutter_event_check (GSource *source)
static void
queue_event (ClutterEvent *event)
{
ClutterMainContext *context;
if (event == NULL)
return;
context = _clutter_context_get_default ();
g_queue_push_head (context->events_queue, event);
_clutter_event_push (event, FALSE);
}
static void