[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: gnome-libs property changes, property notification
From: Tim Janik <timj () gtk ! org>
Date: 2000-12-21 1:48:54
[Download RAW message or body]
On 20 Dec 2000, Martin Baulig wrote:
> This should now be fixed.
>
> > another note on notification. in 2.0 with object properties, we're emitting
> > a notification signal for each property that has changed on an object, the
> > signal's detail holds the property name. that means, code like:
>
> Hmm, I have a little problem with this notification stuff:
>
> Currently, some/most of the set_property() handlers call the accessor function
> to modify things. When I now add that notify call in the accessor function,
> doesn't this result in a duplicate notification if the accessor func is called
> from the set_property() handler ?
nope, because g_object_set() automatically does freeze_notify()
at its entry and thaw_notify() at its end.
---
ciaoTJ
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic