[Librem-5-dev] MMCall objects from CallAdded signal

Bob Ham bob.ham at puri.sm
Tue Jul 24 01:13:42 PDT 2018


On 23/07/18 20:39, Aleksander Morgado wrote:

>> This means that the CallAdded D-Bus signal is emitted immediately while
>> the PropertiesChanged D-Bus signal is emitted some time later, whenever
>> the main loop becomes idle.  As a consequence, the MMModemVoice's
>> "call-added" GObject signal is emitted before the MMModemVoice's call
>> list contains the relevant MMCall object.
>>
> 
> That should be easily fixed with a g_dbus_object_skeleton_flush() to
> force the emission of the PropertiesChanged right away, after adding
> the call object to the list and even before emitting the CallAdded
> signal.

Ah, even better, thanks! :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.puri.sm/pipermail/librem-5-dev/attachments/20180724/b41fb5bf/attachment.sig>


More information about the Librem-5-dev mailing list