gtk_native_get_surface and gtk_native_get_renderer can return NULL
I had both functions return NULL without having warnings about the input being invalid.
I guess this can just happen if the parent window is quite "fresh" and both functions should be nullable?