GNOME Bugzilla – Bug 728327
g_settings_schema_source_lookup misses (allow-none) annotation
Last modified: 2017-03-09 14:06:23 UTC
Created attachment 274441 [details] [review] Fixes the annotation problem g_settings_schema_source_lookup does not report that its return value is nullable
I think we still haven't decided what (allow none) means on return values...
It means "or %NULL" :-) Seriously though, Vala is adding custom metadata to vapigen to do the right thing here and describe the return value as nullable, we're supposed to use the gir to annotate these things right? Or is the idea here maybe assume it is always nullable and have an annotation for return values that cannot be null?
See bug 660879 and bug 626395, at least.
Review of attachment 274441 [details] [review]: Hopefully soon we will have a proper (nullable) attribute. See bug 660879.
not an os x issue. the patch should be redone using nullable
This was actually fixed already by commit 570b27b9acbf6e6f31ab0f9a31a4cce60f4d228a, bug #730493. *** This bug has been marked as a duplicate of bug 730493 ***