Sven Neumann wrote:
GTypeInterface* foo=g_type_interface_peek(instance_class,iface_type); MyIterface* default_interface_impl = g_object_new(foo, . . .);No, I don't think you can create an object using an interface type.
you are right (and to use a californiaism: duh!) however, my point still stands. You can chainup using the interface, and you can get the parent implementation to chain up to using g_type_interface_peek_parent.
-- Dan