Re: simple newbie question...

Simon McVittie <simon.mcvittie-ZGY8ohtN/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Collabora Ltd.
Message-ID <[email protected]>
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.

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.