Re: object_set_property



Eric Lemings <eric b lemings lmco com> writes:

> The object_set_property function in gobject.c will cause a notify signal
> to be emitted even if the new value of the property is the same/equal to
> the current value of the property.
> 
> Is that correct?

Yes, trying to do otherwise would be very expensive. You should
always take any sort of change-notify as "something may have
changed" not "something changed".

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]