g_type_default_interface_ref() does not ensure working g_object_interface_list_properties()
Submitted by Yeti
Link to original bug (#465631)
Description
g_object_interface_list_properties() requires class initialization, this means g_type_default_interface_ref(type).
However, it is not sufficient. If the interface is inspected before any instantiatable (probably, I'm not sure what the exact condition is) class is initialized, it breaks.
Version: 2.12.x