[Webkit-unassigned] [Bug 77835] [GObject bindings] Missing scope annotations for add/remove_event_listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 13:03:22 PST 2012


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





--- Comment #13 from Zan Dobersek <zandobersek at gmail.com>  2012-02-10 13:03:22 PST ---
Created an attachment (id=126566)
 --> (https://bugs.webkit.org/attachment.cgi?id=126566&action=review)
WIP patch

This is just a patch to show how the problem might be solved.

A GDestroyNotify argument is added to the add_event_listener function. It may be NULL, so this is taken into account when destroying the event listener. Changes are welcomed by introspection, making this function introspectable and properly working in python bindings.

In remove_event_listener, the notified scope is annotated for the handler argument. Still, I've done some basic testing but could'n get this function to work properly, so this should be further inspected.

Also changed are calls in tests to avoid compilation breaks.

-- 
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