a question about NameOwnerChanged
Zheng, Huan
huan.zheng at intel.com
Sun Jan 18 17:54:53 PST 2009
Thanks Walters and Marcel.
Problem solved. :)
Best Regards, Zheng, Huan(ZBT)
OTC/SSD/SSG
Intel Aisa-Pacific Research & Developement Ltd
Tel: 021-6116 6435
Inet: 8821 6435
Cub: 3W035
-----Original Message-----
From: cgwalters at gmail.com [mailto:cgwalters at gmail.com] On Behalf Of Colin Walters
Sent: Monday, January 19, 2009 1:31 AM
To: Zheng, Huan
Cc: dbus at lists.freedesktop.org
Subject: Re: a question about NameOwnerChanged
On Sun, Jan 18, 2009 at 3:33 AM, Zheng, Huan <huan.zheng at intel.com> wrote:
>
> char *fdb_name = "org.freedesktop.Dbus";
>
> char *fdb_path = "/org/freedesktop/Dbus";
>
> char *fdb_interface = "org.freedesktop.Dbus";
The "B" here should be capitalized, i.e. "DBus".
The reason you didn't get any error messages is because you used
dbus_g_proxy_new_for_*name*, which creates a proxy that tracks across
name changes (including "no owner").
There may be other issues, but that one jumped out at me.
More information about the dbus
mailing list