polkit: fix build when polkit enabled
This fixes the build after commit 740ce1fb26.
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user