glib bindings with glib signals
grim at reaperworld.com
Tue Jun 26 18:12:39 PDT 2007
I'm trying to emit a glib signal on an object that's exported over dbus,
which in glib has a marshal signature of VOID:OBJECT. In my
introspection file, I'm defining the argument as an object path, but
with an introspection call in dbus-viewer, it returning '<arg type=""/>'
for the signals.
When the signal is emitted in the daemon, I receive this warning (Note
this is coming from my log handler, and at this time I'm not certain
what exactly is writing it):
Warning: No marshaller registered for type "GfFeed"
Warning: failed to marshal parameter 1 for signal RegisteredFeed
Also, when I fire up a client, I'm seeing:
Warning: No marshaller for signature of signal 'registered-feed'
Warning: No marshaller for signature of signal 'unregistered-feed'
The camel case instances are the signals on dbus, the hyphenated ones
are in glib.
So basically, the questions I have are, is it possible to have an
argument of an object path in a glib based signal emitted over dbus, and
if so, does the bindings map this automagically, or is there more magic
I need to perform like having the proxy object re-emit it?
Also, is there any documentation on glib signals over dbus? I've
searched and searched, and found very minimal details, and absolutely
nothing regarding object paths.
Gary Kramlich <grim at reaperworld.com>
More information about the dbus