Carlos thought char* was implicitly (allow-none), but in bug #146589 we discovered it's not. Got to check every use of these and add the (allow-none) annotation where appropriate.
*** Bug 156452 has been marked as a duplicate of this bug. ***
Note from bug #156452: (In reply to comment #0) > webkit_web_view_get_uri can return NULL, but it is not annotated accordingly. > > This is a problem for bindings which represent nullability at the type > level, such as Haskell. > > (By the way, there is handy script in > https://bugzilla.gnome.org/show_bug.cgi?id=753520 that helps in finding such > missing annotations.)
Also note we probably need to stick with deprecated (allow-none) rather than using (nullable) and (optional), for compatibility.
(In reply to comment #3) > Also note we probably need to stick with deprecated (allow-none) rather than > using (nullable) and (optional), for compatibility. Since we can bump our gobject-introspection dep, we should also switch to (nullable) now.
(In reply to comment #4) > (In reply to comment #3) > > Also note we probably need to stick with deprecated (allow-none) rather than > > using (nullable) and (optional), for compatibility. > > Since we can bump our gobject-introspection dep, we should also switch to > (nullable) now. And (optional). We should not have any use of (allow-none) anywhere in WebKit.