Explicitly specify JS version

See bug 636652 for rationale.

https://bugzilla.gnome.org/show_bug.cgi?id=636983
This commit is contained in:
Colin Walters 2010-12-10 15:03:26 -05:00
parent eef194c3aa
commit 9f39ce5d27

View File

@ -364,7 +364,10 @@ gnome_shell_plugin_start (MetaPlugin *plugin)
shell_js = JSDIR;
search_path = g_strsplit(shell_js, ":", -1);
shell_plugin->gjs_context = gjs_context_new_with_search_path(search_path);
shell_plugin->gjs_context = g_object_new (GJS_TYPE_CONTEXT,
"search-path", search_path,
"js-version", "1.8",
NULL);
g_strfreev(search_path);
/* Disable the gnome-volume-control debug */