Object path demarshalling in GLib bindings

Ross Burton ross at burtonini.com
Tue Jun 14 03:08:28 PDT 2005


Hi,

With the glib bindings the server can send an object to the client
(marshaled as a GObject server side, demarshaled to a DBusGProxy client
side), but the reverse doesn't work: currently I can't send a object
from the client to the server.  The attached patch changes the object
de-marshaling code which is called in this situation to create a proxy
instead of trying to find the object path in the connection, as that
just won't work (it's registered on the other end of the connection).

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-path-demarshal.diff
Type: text/x-patch
Size: 1557 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050614/c623dc92/dbus-path-demarshal-0001.bin


More information about the dbus mailing list