diff options
author | David Zeuthen <davidz@redhat.com> | 2009-02-08 11:37:35 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-02-08 11:37:35 -0500 |
commit | 41fbdb3e0802d07eca4c96526d278001d22cb1ff (patch) | |
tree | 203857a91a9083498f712e127d7c0fc8f2942307 /src/polkitagent | |
parent | 21cdbad09bd3f9790c5e57ddfecbd0ef538b9c2c (diff) | |
download | polkit-41fbdb3e0802d07eca4c96526d278001d22cb1ff.tar.gz |
make authentication agents pass a session_id parameter
The session_id has got to be empty for now. The thinking is that in
the future we might want to register an authentication agent that runs
in secure desktop, e.g. a separate session from the user session.
Diffstat (limited to 'src/polkitagent')
-rw-r--r-- | src/polkitagent/polkitagentlistener.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c index cf20f28..23300a3 100644 --- a/src/polkitagent/polkitagentlistener.c +++ b/src/polkitagent/polkitagentlistener.c @@ -102,8 +102,8 @@ server_register (Server *server, ret = FALSE; local_error = NULL; - /* TODO: also pass server->session_id */ if (!polkit_authority_register_authentication_agent_sync (server->authority, + server->session_id, server->object_path, NULL, &local_error)) @@ -198,6 +198,7 @@ server_finalize (GObject *object) error = NULL; if (!polkit_authority_unregister_authentication_agent_sync (server->authority, + server->session_id, server->object_path, NULL, &error)) |