Receiving dbus signals using low-level C API

Krishna R sith.list at
Wed Jan 24 14:38:07 PST 2007

Havoc and John,

Thanks for your prompt replies. I looked at the code, looks like the
messages are unref'd automatically in dbus_connection_dispatch after all
dispatching is done for the message.

> It usually makes more sense to return NOT_YET_HANDLED from a signal
> handler, since other handlers may also be interested. Though if your app
> isn't using any libraries that may also be interested, it doesn't matter.

Thanks for the tip. I guess that makes sense, since the message is
automatically unref'd, it seems safer to do this.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list