complete_interface_info function from the TypePlugin
There should be no need to use this function outside of the GObject type system itself.
the Type of an instantiatable type to which the interface is added
the Type of the interface whose info is completed
the InterfaceInfo to fill in