-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GObject.ParamSpec.*
's blurb
and nick
should be nullable
#218
Comments
@vixalien I can't find anything about this in the documentation. It may work with null, but is that how it is specified? Perhaps it would be better to define the values or at least use an empty string instead? I'm also considering reversing the change to the nullable enums; it may work, but it doesn't makes the code better or more readable and could potentially lead to side effects or break something in the future if it is not actually intended that |
Yeah actually I think you should reverse the change to allow null enumerations. For the GObject.ParamSpec.string, you can see that the similar method |
Okay thanks, then let's do it like this |
For example, this won't work
because the
blurb
andnick
arenull
.The text was updated successfully, but these errors were encountered: