diff options
Diffstat (limited to 'src/nm-auth-manager.h')
-rw-r--r-- | src/nm-auth-manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-auth-manager.h b/src/nm-auth-manager.h index 3f5ebc6589..06cd00867d 100644 --- a/src/nm-auth-manager.h +++ b/src/nm-auth-manager.h @@ -62,6 +62,8 @@ NMAuthManager *nm_auth_manager_get (void); gboolean nm_auth_manager_get_polkit_enabled (NMAuthManager *self); +#if WITH_POLKIT + void nm_auth_manager_polkit_authority_check_authorization (NMAuthManager *self, NMAuthSubject *subject, const char *action_id, @@ -75,6 +77,7 @@ gboolean nm_auth_manager_polkit_authority_check_authorization_finish (NMAuthMana gboolean *out_is_challenge, GError **error); +#endif G_END_DECLS |