pub unsafe extern "C" fn gdk_wayland_display_query_registry(
    display: *mut GdkWaylandDisplay,
    global: *const c_char
) -> gboolean
This is supported on crate feature v3_22 only.