How Can I check whether message has unref or not
thiago at kde.org
Fri Nov 2 06:06:15 PDT 2007
Em Friday 02 November 2007 13:02:14 mahamuni ashish escreveu:
> I want to check whether message has freed or not
> before calling dbus_message_ref
> How can we do that?
You don't. If you own a reference, the message is valid. Calling unref() will
never print an error.
If you don't own a reference, then you don't have a DBusMessage.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20071102/52f7feed/attachment.pgp
More information about the dbus