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:
Dan Winship 2011-09-02 12:53:36 -04:00
parent d99a2f19a5
commit 885e194c25

View File

@ -97,6 +97,7 @@ main(int argc, char **argv)
setlocale (LC_ALL, "");
g_type_init ();
_shell_global_init (NULL);
global = shell_global_get ();
js_context = _shell_global_get_gjs_context (global);