[patch] fix glib signals

Ross Burton ross at burtonini.com
Fri Jun 24 01:00:17 PDT 2005


On Thu, 2005-06-23 at 16:47 -0700, Ryan Gammon wrote:
> Re: the signals stuff, I have a call that looks like this:
> 
> dbus_g_proxy_call (player->backend_driver, "CreatePlayer", &error,
>                         G_TYPE_STRING, license, G_TYPE_UINT, socket_id, 
> G_TYPE_INVALID,
>                         DBUS_TYPE_G_PROXY, &proxy, G_TYPE_INVALID))
> 
> I'm trying to connect signals to the returned proxy, but I think the 
> proxy here gets bound to a name vs an instance, so signals don't work.
> 
> I was thinking it might be cool if there was a method that took a gproxy 
> that was bound to a name, and got it to bind to a name owner (and maybe 
> visa versa). Would this make sense?

I've got code which does exactly that and is working fine.  What is the
problem?

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





More information about the dbus mailing list