[Webkit-unassigned] [Bug 75459] Provide Vala bindings (vapi) for WebKitGTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 19:32:55 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=75459





--- Comment #26 from Evan Nemerson <evan at coeus-group.com>  2012-02-07 19:32:55 PST ---
(In reply to comment #25)
> I discovered two errors in the Vapi today -- both are methods where the return type should be nullable:
> 
> DOM.Document.get_element_by_id()
> DOM.Node.get_parent_element()
> 
> There's probably a few similar functions that have the same issue.

Yes, that's likely true. See https://live.gnome.org/Vala/UpstreamGuide#Nullability_of_Return_Values

Any functions with nullable return values should be fixed using the metadata file until G-I fixes the issue upstream, at which time the annotations will have to be modified.

FWIW, the fix should be adding these two lines to the metadata file:

DOMDocument.get_element_by_id nullable
DOMNode.get_parent_element nullable

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list