Receiving dbus signals using low-level C API
John (J5) Palmieri
johnp at redhat.com
Wed Jan 24 13:40:02 PST 2007
On Wed, 2007-01-24 at 16:27 -0500, Havoc Pennington wrote:
>
> > 1. Is this a correct way to recv signals? Do i have to do
> > dbus_message_unref(message) in the filter function after handling it
> > before i return?
>
> I don't believe so, I could misremember, but it would be documented if
> you did have to probably.
Hmm, wait. I might be misremembering too. The filter function may
unref for you and I think I was thinking of needing to unref after
creating a reply message. So if one needs to keep a message around they
need to ref it.
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus
mailing list