Commit e4ef144d 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()
parent 394038b2
......@@ -708,7 +708,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