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:
Aleksander Morgado
2017-04-07 11:13:27 +02:00
parent 374c65a520
commit 9667d037fd
+1 -1
View File
@@ -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);
}