769a02b630
This was introduced when the Cogl maintainers tried to move away from GLib. Since we always require it, we can just use `g_return_val_if_fail()` immediately. https://gitlab.gnome.org/GNOME/mutter/merge_requests/629