Re: Use of properties in GTK 2.0



"Padraig O'Briain" <Padraig Obriain ireland sun com> writes: 
> This seems to suggest that there will be two notifications if the
> property is set using g_object_set_property().

The reason there isn't is that g_object_freeze_notify() delays all
notifications until the next thaw, and freeze is automatically called
around the set_property virtual function, as I understand it, so
duplicates during the set_property call are compressed.

Havoc




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