Re: [seedkit-list] Problems with callback calls
- From: Alexandre Mazari <scaroo gmail com>
- To: seedkit-list gnome org
- Subject: Re: [seedkit-list] Problems with callback calls
- Date: Wed, 17 Aug 2011 19:58:02 +0200
Heya,
Thanks for toying with seedkit!
Looks like a event-loop || thread issue || no rights on sockets issue.
I observed the same issue while playing with the DBus binding. Somehow
the WebView's js context differs from the 'vanilia' one used by seed.
GC, security check, threading, mainloop ? Fun ride... :)
You might wan to try with Lang.bind, that wraps js functs as G_CALLBACK.
Lets find out.
Happy Coding,
Alexandre Mazari
On Wed, Aug 17, 2011 at 7:07 PM, Danilo Cesar <danilo eu gmail com> wrote:
> Hey guys,
>
> I'm trying to execute some js code from a seedkitview window.
> Basically, my HTML is the follow: http://pastebin.com/cRtBAXe0
>
> It works flawlessy until it reaches the line 56, which defines a
> callback for tp account manager.
>
> After that it fails when the callback is called, with the following error:
> ** (seedtest:11744): WARNING **: Exception in closure marshal. Line 0
> in [undefined]: RangeError Maximum call stack size exceeded.
>
> The same js code works fine when executed by seed directly (after
> uncomment the Gtk lines and calling the gtk mainloop and the bottom)
>
> Anyway, any idea why it doesn't work?
> I'm trying another things also, but all of them fails when a callback is called.
>
> --
> Danilo Cesar Lemes de Paula
> http://www.danilocesar.com
> _______________________________________________
> seedkit-list mailing list
> seedkit-list gnome org
> http://mail.gnome.org/mailman/listinfo/seedkit-list
>
--
"If you open your mind too much, you brain will fall out"
Tim Minchin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]