diff options
author | Tim-Philipp Müller <tpm@src.gnome.org> | 2005-08-12 16:09:19 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tpm@src.gnome.org> | 2005-08-12 16:09:19 +0000 |
commit | 7788ead1376fd75d4798c5602b9ad6b742020570 (patch) | |
tree | 4a02d8f6eb86314ffc59d0ca52176b6eadb76987 /ChangeLog.pre-2-8 | |
parent | 5534bedf75faecde2c57f9580286563099e011a4 (diff) |
Special-case flag value of 0. Instead of returning the first random
* gobject/genums.c: (g_flags_get_first_value): Special-case flag
value of 0. Instead of returning the first random GFlagsValue
we come across, return the GFlagsValue for 0 if it exists or
NULL if it does not exist. Never return the GFlagsValue for 0
if the requested flags value is nonzero.
Diffstat (limited to 'ChangeLog.pre-2-8')
-rw-r--r-- | ChangeLog.pre-2-8 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1c3d25305..f1dd89ef3 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +2005-08-12 Tim-Philipp Müller <tim at centricular dot net> + + * gobject/genums.c: (g_flags_get_first_value): Special-case flag + value of 0. Instead of returning the first random GFlagsValue + we come across, return the GFlagsValue for 0 if it exists or + NULL if it does not exist. Never return the GFlagsValue for 0 + if the requested flags value is nonzero. + 2005-08-12 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version to 2.8.0 |