diff options
author | David Zeuthen <davidz@redhat.com> | 2009-05-13 12:20:16 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-05-13 12:20:16 -0400 |
commit | 7a9f7c1389befed09abc9d2187c213868f638c43 (patch) | |
tree | ef769feb4b6d81cdfd9ed440a6d3e6a20fd8fe29 /src/polkit/polkitauthority.h | |
parent | 86008e618476834c040bf7db40bbc887cca2fbb5 (diff) | |
download | polkit-7a9f7c1389befed09abc9d2187c213868f638c43.tar.gz |
Change the PolkitAuthorizationResult enumeration into an object
Diffstat (limited to 'src/polkit/polkitauthority.h')
-rw-r--r-- | src/polkit/polkitauthority.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polkit/polkitauthority.h b/src/polkit/polkitauthority.h index 2aa74ae..642c400 100644 --- a/src/polkit/polkitauthority.h +++ b/src/polkit/polkitauthority.h @@ -62,7 +62,7 @@ GList *polkit_authority_enumerate_groups_sync (PolkitAuthori GCancellable *cancellable, GError **error); -PolkitAuthorizationResult polkit_authority_check_authorization_sync (PolkitAuthority *authority, +PolkitAuthorizationResult *polkit_authority_check_authorization_sync (PolkitAuthority *authority, PolkitSubject *subject, const gchar *action_id, GHashTable *details, @@ -109,7 +109,7 @@ void polkit_authority_check_authorization (PolkitAuthority GAsyncReadyCallback callback, gpointer user_data); -PolkitAuthorizationResult polkit_authority_check_authorization_finish (PolkitAuthority *authority, +PolkitAuthorizationResult *polkit_authority_check_authorization_finish (PolkitAuthority *authority, GAsyncResult *res, GError **error); |