[Webkit-unassigned] [Bug 54199] [GTK] Implement NativeWebKeyboard and WebContext classes for WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 06:30:22 PST 2011


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





--- Comment #6 from Alejandro G. Castro <alex at igalia.com>  2011-02-25 06:30:22 PST ---
(In reply to comment #5)
> > 
> > I've tried to use a smart pointer but it also requires the struct definition, I guess the only option would be to use a raw pointer and handle it directly but not sure if avoiding the include deserves adding that kind of code. What do you think?
> 
> You should just be able to do a typedef union _GdkEvent GdkEvent; and have it hold a GOwnPtr<GdkEvent>.  I believe we do that in other places.
> 

You are right I was just missing the proper constructor to make it work.

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