Commit dbd710c1 authored by Ray Strode's avatar Ray Strode

jsauthority: s/JSVAL_NULL/JS::NullValue()/

This commit does a global search and replace
for JSVAL_NULL to JS::NullValue()
Signed-off-by: Ray Strode's avatarRay Strode <rstrode@redhat.com>

https://bugs.freedesktop.org/show_bug.cgi?id=105865
parent 2f39096f
......@@ -342,8 +342,8 @@ load_scripts (PolkitBackendJsAuthority *authority)
static void
reload_scripts (PolkitBackendJsAuthority *authority)
{
JS::Value argv[1] = {JSVAL_NULL};
JS::Value rval = JSVAL_NULL;
JS::Value argv[1] = {JS::NullValue()};
JS::Value rval = JS::NullValue();
JS_BeginRequest (authority->priv->cx);
......@@ -1084,8 +1084,8 @@ polkit_backend_js_authority_get_admin_auth_identities (PolkitBackendInteractiveA
{
PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (_authority);
GList *ret = NULL;
JS::Value argv[2] = {JSVAL_NULL, JSVAL_NULL};
JS::Value rval = JSVAL_NULL;
JS::Value argv[2] = {JS::NullValue(), JS::NullValue()};
JS::Value rval = JS::NullValue();
guint n;
GError *error = NULL;
JSString *ret_jsstr;
......@@ -1193,8 +1193,8 @@ polkit_backend_js_authority_check_authorization_sync (PolkitBackendInteractiveAu
{
PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (_authority);
PolkitImplicitAuthorization ret = implicit;
JS::Value argv[2] = {JSVAL_NULL, JSVAL_NULL};
JS::Value rval = JSVAL_NULL;
JS::Value argv[2] = {JS::NullValue(), JS::NullValue()};
JS::Value rval = JS::NullValue();
GError *error = NULL;
JSString *ret_jsstr;
const jschar *ret_utf16;
......
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