logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: dbus_g_pending_call and proxies: msg#00227

Subject: Re: dbus_g_pending_call and proxies
On Thu, 2005-06-30 at 19:46 -0400, Colin Walters wrote:
> I've been working on a more "real" application using the GLib bindings,
> and one of the things that's immediately apparent to me is that
> dbus_g_proxy_end_call is difficult to use.

Thinking about this a bit more, this issue arises primarily because this
app doesn't have a fixed set of proxies, but creates them dynamically
(in response to signals).  A current example of this kind of usage would
be how a HAL device viewer would create a new proxy for each device as
HAL created them.  When we do a call on one of those proxies, all we get
in the callback is the DBusGPending call.  I guess besides creating a
new structure could do a hash table lookup from our main data from 
call -> proxy, but it's kind of ugly.

Attachment: signature.asc
Description: This is a digitally signed message part


<Prev in Thread] Current Thread [Next in Thread>