From freedesktop-dbus Fri Aug 18 05:54:25 2023 From: Thiago Macieira Date: Fri, 18 Aug 2023 05:54:25 +0000 To: freedesktop-dbus Subject: Re: Bug with dbus_pending_call_steal_reply? Message-Id: <4483633.8F6SAcFxjW () tjmaciei-mobl5> X-MARC-Message: https://marc.info/?l=freedesktop-dbus&m=169233795413720 On Thursday, 17 August 2023 20:53:03 PDT bitfxed wrote: > Sorry, I messed up the link but you're saying I can't steal something > that isn't there and > https://dbus.freedesktop.org/doc/api/html/group__DBusPendingCall.html#ga5a73 > 8928c2369fef093ce00658903d06 says that it will either return the reply or > "returns NULL if none has been received yet.". Am I confusing something or > isn't that contradictory? You're not. The documentation has documented the _dbus_return_val_if_fail behaviour, which is an assertion or warning depending on build mode. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering