Method

GdkX11X11Displayerror_trap_pop

since: 3.0

Declaration [src]

gint
gdk_x11_display_error_trap_pop (
  GdkDisplay* display
)

Description [src]

Pops the error trap pushed by gdk_x11_display_error_trap_push(). Will XSync() if necessary and will always block until the error is known to have occurred or not occurred, so the error code can be returned.

If you don’t need to use the return value, gdk_x11_display_error_trap_pop_ignored() would be more efficient.

See gdk_error_trap_pop() for the all-displays-at-once equivalent.

Available since: 3.0

Return value

Type: gint

X error code or 0 on success.