[webkit-gtk] Bug#749251: cyclograph-gtk2: depends on python-webkit which is deprecated
Gustavo Noronha Silva
gns at gnome.org
Thu Jul 3 06:04:06 PDT 2014
Hey,
On Sex, 27 Jun, 2014 at 3:34 , Carlos Garcia Campos
<cgarcia at igalia.com> wrote:
>> [ for webkit-gtk@: Federico is porting his app from python-webkit
>> (the old
>> static libwebkitgtk-1.0 python bindings) to gir1.2-webkit2-3.0, see
>> the code
>> below. ]
>
> Yes, the problem is that webkit_javascript_result_get_value() returns
> a
> JSValueRef, but there's no gobject-introspection for JavaScriptCore
> API.
> I don't think it worked in WebKit1 either, but in WebKit1
> webkit_web_view_run_script didn't return anything, so if you are
> porting
> from WebKit1, maybe you can just ignore the return value for now. I
> have
> some comments about the code, see below.
hmm, there is a JavaScriptCore GIR file which has:
<record name="GlobalContext" c:type="JSGlobalContextRef"
foreign="1"/>
<record name="Value" c:type="JSValueRef" foreign="1"/>
That is not sufficient from what you're saying? In Debian the gir file
is on the jsc dev package and the typelib in
gir1.2-javascriptcoregtk-1.0.
Cheers,
Gustavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140703/16ec2ee1/attachment.html>
More information about the webkit-gtk
mailing list