Calling g_base_info_get_name on GI_INFO_TYPE_TYPE causes segfault
Submitted by Simon Feltman
Link to original bug (#709456)
Description
g_base_info_get_name uses a switch statement to dispatch based on the GITypeInfo of the object. In the case of GI_INFO_TYPE_TYPE, it is combined with the default case which uses g_assert_not_reached(). This seems like it breaks the object oriented conceptual model for the classes. I think any valid type should return something (even NULL).
https://git.gnome.org/browse/gobject-introspection/tree/girepository/gibaseinfo.c?h=gnome-3-0#n365