Feature Request #612590 - permit initialization using an existing JSGlobalContext
authorAlexandre Mazari <scaroo@gmail.com>
Fri, 12 Mar 2010 04:17:24 +0000 (12:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 12 Mar 2010 04:17:24 +0000 (12:17 +0800)
commit675adddd0711902892de9b4b9366f83cce939b4c
tree200a24254ae0a0281edaac314614fc23fcc167e3
parent848d7b2d7b56477a3ef56e2c8a731b2f210e1f22
Feature Request #612590 - permit initialization using an existing JSGlobalContext

Usage example:

SeedEngine *eng;
void window_object_cleared (WebKitWebView  *web_view,
                            WebKitWebFrame *frame,
                            gpointer        context,
                            gpointer        arg3,
                            gpointer        user_data) {
eng = seed_init_with_context(NULL, NULL, context);
}
....
  g_signal_connect(G_OBJECT(web_view), "window-object-cleared",
       G_CALLBACK(window_object_cleared), NULL);
libseed/seed-engine.c
libseed/seed.h