Why `g_return_if_fail`? It's not a programmer error if this fails... we should print a critical and return early if this happens.