eventQueue->ProcessPendingEvents();
if (eventQueue) eventQueue->ProcessPendingEvents();
static void event_processor_callback(gpointer data,                                     gint source,                                     GdkInputCondition condition){  nsIEventQueue *eventQueue = (nsIEventQueue*)data;  eventQueue->ProcessPendingEvents();}