Fix backward logic in g_return_if_fail().