[Webkit-unassigned] [Bug 77835] [gobject-introspection] Missing scope annotations for add/remove_event_listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 6 09:06:13 PST 2012


--- Comment #4 from Gustavo Noronha (kov) <gns at gnome.org>  2012-02-06 09:06:13 PST ---
(From update of attachment 125617)
View in context: https://bugs.webkit.org/attachment.cgi?id=125617&action=review

> Source/WebCore/ChangeLog:3
> +        (gtk-gir-dom-events) [gobject-introspection] Missing scope annotations for add/remove_event_listener

I'd drop the prefixes, or just make it [GObject bindings]?

> Source/WebCore/bindings/gobject/WebKitDOMEventTarget.h:64
> + * @handler: (scope async):

I'm not an introspection expert, but in my understanding from the docs the scope for this should actually be notified (although that's of course impossible because there's no notify as a parameter?)

async - Only valid for the duration of the first callback invokation. Can only be called once.

This sounds like it'll break if the event is triggered more than one time, doesn't it? Would be good to have advice from a GI expert on this.

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