shell-global: Remove an explicit js-version set

gjs's default js-version is already 1.8, and we're planning on removing
this API in the future, in accordance with upstream.
This commit is contained in:
Jasper St. Pierre 2014-01-02 13:26:48 -05:00
parent 719d2092a7
commit 178b8471cc

View File

@ -300,7 +300,6 @@ shell_global_init (ShellGlobal *global)
global->js_context = g_object_new (GJS_TYPE_CONTEXT, global->js_context = g_object_new (GJS_TYPE_CONTEXT,
"search-path", search_path, "search-path", search_path,
"js-version", "1.8",
"gc-notifications", TRUE, "gc-notifications", TRUE,
NULL); NULL);
g_signal_connect (global->js_context, "gc", G_CALLBACK (shell_global_on_gc), global); g_signal_connect (global->js_context, "gc", G_CALLBACK (shell_global_on_gc), global);