[patch] fix order-dependent construction parameters in DBusGProxy

Robert McQueen robert.mcqueen at collabora.co.uk
Sun Mar 19 18:41:54 PST 2006


Attached is a patch to allow constructing derived classes of DBusGProxy
if you don't specify the connection last. Otherwise it segfaulted
because setting the connection property tried to register with the
DBusGProxyManager, which relies on the other properties being set. Moved
this to the constructor and added some asserts for related issues. OK to
apply?

Regards,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-g-proxy-fix-properties.patch
Type: text/x-patch
Size: 2130 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060320/974a9b36/dbus-g-proxy-fix-properties.bin


More information about the dbus mailing list