summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2018-03-23 10:48:44 -0400
committerRay Strode <rstrode@redhat.com>2018-03-28 16:46:36 -0400
commit8b2fd8cf09fe93b9f5d39469174bbb319cddc2ff (patch)
tree8878592a1222f33f77f9d2ff0d4ece4570455c9f
parenta667ac2998c77a765ae1a48b7adaf7786cfbd43a (diff)
downloadpolkit-8b2fd8cf09fe93b9f5d39469174bbb319cddc2ff.tar.gz
jsauthority: JSVAL_IS_NULL (o) to o.isNull()
-rw-r--r--src/polkitbackend/polkitbackendjsauthority.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
index 8cc2c1e..ad2c3eb 100644
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
@@ -1233,7 +1233,7 @@ polkit_backend_js_authority_check_authorization_sync (PolkitBackendInteractiveAu
goto out;
}
- if (JSVAL_IS_NULL (rval))
+ if (rval.isNull())
{
/* this fine, means there was no match, use implicit authorizations */
good = TRUE;