Commit 5c0fbed8 authored by Ray Strode's avatar Ray Strode

jsauthority: s/OBJECT_TO_JSVAL/JS::ObjectValue/

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

https://bugs.freedesktop.org/show_bug.cgi?id=105865
parent c91a99e6
......@@ -697,7 +697,7 @@ set_property_strv (PolkitBackendJsAuthority *authority,
JS_SetElement (authority->priv->cx, array_object, n, &val);
}
value_jsval = OBJECT_TO_JSVAL (array_object);
value_jsval = JS::ObjectValue (*array_object);
JS_SetProperty (authority->priv->cx, obj, name, &value_jsval);
}
......
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