Re: Webkit2 porting
- From: Robert Schroll <rschroll gmail com>
- To: Carlos Garcia Campos <carlosgc gnome org>
- Cc: Michael Catanzaro <mcatanzaro gnome org>, desktop-devel-list <desktop-devel-list gnome org>, Evan Nemerson <evan nemerson com>
- Subject: Re: Webkit2 porting
- Date: Wed, 15 Oct 2014 14:03:56 -0400
On Wed, Oct 15, 2014 at 1:00 PM, Carlos Garcia Campos
<carlosgc gnome org> wrote:
I don't know much about bindings, but I added the _with_closure()
variants to make the API introspectable, and I remember I tried it
with
python and it worked. See
https://bugs.webkit.org/show_bug.cgi?id=77835
Maybe I'm looking in the wrong places (it's a long bug), but the
examples I'm seeing seem to be using the WebKitGTK bindings, not the
WebKit2GTK bindings.
Evan Nemerson suggested,
The bindings should be updated to make the closure argument use the
correct delegate type.
Not knowing what the correct delegate type is, I've sent a query to the
WebKitGTK list to see if we can get this fixed.
Looking through the VAPI file, I noticed that there are bindings for
remove_event_listener(), remove_event_listener_with_closure(), and
add_event_listener_with_closure(), but not for add_event_listener().
This last method was the method used in the previous API. If I add the
definition from there back into the current VAPI, it works just fine.
Was its removal intentional?
Thanks,
Robert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]