Commit 5067c830 authored by Ray Strode's avatar Ray Strode

jsauthority: call JS_Init

This is now required
parent 1165181a
......@@ -43,6 +43,7 @@
#include <systemd/sd-login.h>
#endif /* HAVE_LIBSYSTEMD */
#include <js/Initialization.h>
#include <jsapi.h>
#include "initjs.h" /* init.js */
......@@ -661,6 +662,8 @@ polkit_backend_js_authority_class_init (PolkitBackendJsAuthorityClass *klass)
g_type_class_add_private (klass, sizeof (PolkitBackendJsAuthorityPrivate));
JS_Init ();
}
/* ---------------------------------------------------------------------------------------------------- */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment