#50218 - notification on write-only properties is questionable
- From: Owen Taylor <otaylor redhat com>
- To: timj gtk org
- Cc: gtk-devel-list gnome org
- Subject: #50218 - notification on write-only properties is questionable
- Date: 06 Jun 2001 12:17:54 -0400
Hi Tim,
Do you remember what we decided to do about this?
Things that were discussed including:
- Warning on g_object_notify() on a !READABLE property
- Silently doing nothing on g_object_notify() on a !READABLE
property.
- Adding an extra flag NONOTIFY that could be used to
mark READABLE properties as also not getting notification.
I'm in favor of doing the first, because I think if you
explicitely write g_object_notify(), you are assumming
that something is going to happen, and a warning message
is going to help you track down this bug earlier.
I'm not in favour of the last, because I can't think of
where it would be useful - why should some particular
readable property not have notification?
I'll let you make the final decision on this one.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]