On Wed, Oct 15, 2014 at 1:00 PM, Carlos Garcia Campos
<[email protected]> 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
_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list