NEW 125601
Multiple .gir errors detected by Vala with WebKit-3.0.gir and EventTarget.dispatch_event
https://bugs.webkit.org/show_bug.cgi?id=125601
Summary Multiple .gir errors detected by Vala with WebKit-3.0.gir and EventTarget.dis...
Jim Nelson
Reported 2013-12-11 14:15:14 PST
When compiling with Vala against WebKit-3.0.gir, the compiler reports a number of errors depending on the installed version of WebKitGTK. The errors look like this: WebKit-3.0.gir:28210.7-28212.16: error: overriding method `WebKit.DOM.TextTrackList.dispatch_event' is incompatible with base method `WebKit.DOM.EventTarget.dispatch_event': incompatible return type. The problem is EventTarget.dispatch_event() returns void but TextTrackList.dispatch_event() (and others) return bool. At least, that's how it's reported in the .gir file. As of WebKitGTK 2.2, we've found this problem with the following symbols: DOMBatteryManager.dispatch_event DOMAudioTrackList.dispatch_event DOMTextTrackCue.dispatch_event DOMTextTrack.dispatch_event DOMTextTrackList.dispatch_event DOMVideoTrackList.dispatch_event DOMNode.dispatch_event DOMWebKitNamedFlow.dispatch_event DOMDOMApplicationCache.dispatch_event DOMDOMWindow.dispatch_event
Attachments
Note You need to log in before you can comment on or make changes to this bug.