aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-04-07 11:13:24 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-04-07 11:13:27 +0200
commit9667d037fdd5d1cb07b1ff27d868e7398bb31ce0 (patch)
tree61309849008868f6020d7e562caa3b1e23297969 /src
parent374c65a5202f983073bb8918a33316e19186df87 (diff)
polkit: fix build when polkit enabled
This fixes the build after commit 740ce1fb26dd83459075f2d069a9da25e449dd89. CC ModemManager-mm-auth-provider-polkit.o ../../src/mm-auth-provider-polkit.c: In function ‘authorize’: ../../src/mm-auth-provider-polkit.c:155:46: error: ‘AuthorizeContext’ has no member named ‘cancellable’ ctx->cancellable, ^ Makefile:1533: recipe for target 'ModemManager-mm-auth-provider-polkit.o' failed
Diffstat (limited to 'src')
-rw-r--r--src/mm-auth-provider-polkit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-auth-provider-polkit.c b/src/mm-auth-provider-polkit.c
index ef15e87e..3b9b4250 100644
--- a/src/mm-auth-provider-polkit.c
+++ b/src/mm-auth-provider-polkit.c
@@ -152,7 +152,7 @@ authorize (MMAuthProvider *self,
authorization,
NULL, /* details */
POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION,
- ctx->cancellable,
+ cancellable,
(GAsyncReadyCallback)check_authorization_ready,
task);
}