[patch] remove DBusGPendingCall

Colin Walters walters at verbum.org
Thu Jul 7 10:08:18 PDT 2005


On Thu, 2005-07-07 at 16:31 +0100, Ross Burton wrote:
> Hi,
> 
> Attached is a patch to re-implement the async bindings.  It also
> includes a patch to fix the C type name for object paths.
> 
> It re-introduces DBusGAsyncData, but as its a struct containing a
> function pointer and an user_data it could probably be replaced with a
> GClosure (apart from the extra work to marshal the return values into
> GValues).

Ok.  One thing to consider is - shouldn't you be passing the 
DBusGProxy * into the async callbacks?

About DBusGAsyncData: yeah, I guess you're right.  I had thought we
could get rid of it but from a quick glance I think using GClosure would
just add another level of indirection really.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050707/9e45ae0a/attachment.pgp


More information about the dbus mailing list