GIBaseInfo* g_type_info_get_interface GITypeInfo* info g_type_info_get_interface GIBaseInfo* g_type_info_get_interface (GITypeInfo* info);

For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values, this function returns full information about the referenced type. You can then inspect the type of the returned GIBaseInfo to further query whether it is a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().

g_base_info_unref() when done.