PropertiesChanged signal - races...
Colin Walters
walters at verbum.org
Tue May 11 13:33:58 PDT 2010
On Tue, May 11, 2010 at 4:21 PM, Thiago Macieira <thiago at kde.org> wrote:
> Em Terça-feira 11. Maio 2010, às 15.19.25, David Zeuthen escreveu:
>> I disagree. Whether a property ChatroomParticipants emits
>> PropertiesChanged (with or without value) is very much a decision of
>> the author of the interface. It's as much part of the programming
>> contract as whether the interface emits other signals (or not). It
>> really is part of the ABI. E.g. it's not something that is left up to
>> some implementation or binding or whatever.
>
> That would mean that the emission of the signal is the responsibility of the
> author of the code implementing the interface. If that's the case, I'll be
> happy to add a method that developers can call to emit the signal.
For an existing binding, I think that's necessary for backwards
compatibility, yes.
> I was under the impression that the binding should do this automatically.
However for a new binding as David is writing, we can invert things so
that it's opt-out, and discourage authors from having large,
frequently changing properties.
More information about the dbus
mailing list