trivial: use assert, not g_return_if_fail