gint gdk_error_trap_pop ( void )
Removes an error trap pushed with
May block until an error has been definitively received
or not received from the X server.
is preferred if you don’t need to know whether an error
occurred, because it never has to block. If you don’t
need the return value of
Prior to GDK 3.0, this function would not automatically
sync for you, so you had to
gdk_flush() if your last
call to Xlib was not a blocking round trip.