Re: gnome-libs property changes, property notification
- From: Tim Janik <timj gtk org>
- To: Martin Baulig <martin home-of-linux org>
- Cc: Hacking Gnomes <Gnome-Hackers gnome org>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: gnome-libs property changes, property notification
- Date: Thu, 21 Dec 2000 02:48:54 +0100 (CET)
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
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]