[Webkit-unassigned] [Bug 15891] Javascript console and dialogs are not implemented

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 10 02:12:32 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=15891





------- Comment #8 from xan.lopez at gmail.com  2007-11-10 02:12 PDT -------
(In reply to comment #7)
> (In reply to comment #5)
> > Well, at first I did provide the handlers via G_STRUCT_OFFSET but this meant
> > that they are always executed. And we want to allow clients to override the
> > signals. So I left it blank here. It does work fine for me, tested with and
> > without signals connected by a client.
> 
> You don't do it like that. Make the signal have boolean return value, if the
> clients want to override the default handler they connect to the signal and
> return TRUE in their callback.
> 

For this you need to set a boolean accumulator in g_signal_new of course
(g_signal_accumulator_true_handled as fifth parameter).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list