GNOME Bugzilla – Bug 731341
gparam: change value of G_PARAM_EXPLICIT_NOTIFY
Last modified: 2014-06-10 23:05:02 UTC
GParamSpec has a possibility of user-introduced flags, and we didn't respect that with the addition of _EXPLICIT_NOTIFY. Change the documentation for the maximum number of user flags to 10, just to pick a somewhat random number. The documentation here was never correct anyway -- it previously claimed that as many as 38 flags were possible. Meanwhile, move G_PARAM_EXPLICIT_NOTIFY next to _DEPRECATED in order to avoid conflicts with low-numbered user flags (which are in use by at least evolution-data-server).
Created attachment 278050 [details] [review] gparam: change value of G_PARAM_EXPLICIT_NOTIFY
Review of attachment 278050 [details] [review]: looks good to me.
It might be a good idea to reserve some more bits on the upper end right away?
I misread the patch :) never mind...
Attachment 278050 [details] pushed as fcdd25a - gparam: change value of G_PARAM_EXPLICIT_NOTIFY