run-js-test: fix
Needs to explicitly initialize the ShellGlobal now https://bugzilla.gnome.org/show_bug.cgi?id=649631
This commit is contained in:
parent
d99a2f19a5
commit
885e194c25
@ -97,6 +97,7 @@ main(int argc, char **argv)
|
|||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
|
|
||||||
|
_shell_global_init (NULL);
|
||||||
global = shell_global_get ();
|
global = shell_global_get ();
|
||||||
js_context = _shell_global_get_gjs_context (global);
|
js_context = _shell_global_get_gjs_context (global);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user