get_type() should panic if type registration fails
g_type_register_static_simple()
can fail for a few reasons, all of them programmer error. The generated code should panic if that call fails with G_TYPE_INVALID
.
Edited by Federico Mena Quintero