Advertisement
mchqwerty

clutter_do_event_now

Apr 23rd, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.49 KB | None | 0 0
  1. void
  2. clutter_do_event_now (ClutterEvent *event)
  3. {
  4.   if (event->any.stage &&
  5.       !CLUTTER_ACTOR_IN_DESTRUCTION (event->any.stage))
  6.     {
  7.       /* queue it and dispatch the queue afterwards, so that
  8.        * the events will be processed in right order */
  9.       _clutter_stage_queue_event (event->any.stage, event, TRUE);
  10.       _clutter_stage_process_queued_events (event->any.stage);
  11.     }
  12.   else
  13.     {
  14.       g_warning ("%s: Event does not have a stage: discarding.", G_STRFUNC);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement