Bug 7762

Summary: gobject derivatives are not marshalled properly.
Product: dbus Reporter: Steve Frécinaux <nud>
Component: GLibAssignee: D-Bus Maintainers <dbus>
Status: RESOLVED MOVED QA Contact: D-Bus Maintainers <dbus>
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Steve Frécinaux 2006-08-03 18:41:03 UTC
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.
Comment 1 chemtech 2013-03-15 14:22:27 UTC
Steve Frécinaux Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 2 GitLab Migration User 2018-08-22 22:03:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/dbus/dbus-glib/issues/6.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.