gobject derivatives are not marshalled properly.
Submitted by Steve Frécinaux
Assigned to D-Bus Maintainers
Description
When a signal taking a G_TYPE_OBJECT as argument is fired, it's propagated on D-Bus using the object path of that argument. But it does not work if the argument's declared type is not G_TYPE_OBJECT but a derivative, say MY_TYPE_FOO.
Expected result: any GObject type should be marshalled as an object path.
A possible solution would be to check the g_type_fundamental() if the current type has no own TypeInfo, as a fallback. It would work for this particular case since G_TYPE_OBJECT is a fundamental GLib type.