[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 02:48:15 PST 2012


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





--- Comment #11 from C Anthony <anthony at xtfx.me>  2012-02-10 02:48:15 PST ---
well i've spent all night for 3+ nights now trying to wrote the solution myself, but i'm afraid i don't understand enough.

if anyone can guide/assist i will do what i can to accomplish myself, but i'm mostly just beating my face into the wall at this point :-(

... any assistance is much appreciated.  from the input i've gotten, from both #webkitgtk+ and #introspection sides, makes me think it's incredibly simple solution for a mildly compentent C/C++ dev, but frankly, i don't 100% understand how all these virtual interfaces and whatnot are interacting.

i can see ...

python/pygi -> webkit_dom_event_target_add_event_listener -> WebKitDOMEventTargetIface (* add_event_listener) -> GObjectEventListener::addEventListener

... and i know i have to store the GDestroyNotify pointer on the GObjectEventListener, and then call it from the gobjectDestroyed member.

i read the code and i believe i understand ~95%, but im really struggling with he correct way to write it, as im a total C/C++ n00b ...

ideas?  how can we open webkit to all of us? there are a handful of functions failing, but for the most par the introspection works wonderful ... save these two methods, which are absolutely *imperative* for even light use.  i am more than willing to sink more time, but i need some pointers in the right direction, and i feel i've already bugged everyone in #introspection/#webkitgtk+ too much :-)

thanks!

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