simple newbie question...

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 3 04:08:49 PST 2014


On 02/11/14 21:24, Thomas Green wrote:
>  dbus_g_proxy_add_signa(proxy,
>                 "ServicesChanged",
>                 G_TYPE_BOXED,
>                 G_TYPE_BOXED,
>                 G_TYPE_INVALID);

You probably need to use dbus-glib's parameterized GTypes instead of
G_TYPE_BOXED. I'm not going to go into the details here, because
dbus-glib is basically awful[1].

It would also help if you spelled "signal" correctly :-)

I strongly recommend using GDBus, part of GIO, instead - you already
depend on GLib/GObject/GIO via dbus-glib.

    S

[1] It is unmaintained, and I am its unmaintainer. I recommend not using
it. Run away while you still can.



More information about the dbus mailing list