It seems I didn't have debug builds enabled and forgot some return_if_fail()s when doing the last patch.