diff options
author | Miloslav Trmač <mitr@redhat.com> | 2013-04-10 02:51:34 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2013-04-15 23:22:39 +0200 |
commit | eec38ce7ad1b4d82bc075490b1011735ffb4e18a (patch) | |
tree | cfcc57734a02eebd2740b43732f85158f4dad57c /src/polkitagent | |
parent | 91052183ea45a14fa639ba4c5aaa6c0b3bcb9739 (diff) | |
download | polkit-eec38ce7ad1b4d82bc075490b1011735ffb4e18a.tar.gz |
Document deprecated functions.
All of these are a part of public API with some external users. Do the
minimum to avoid a warning; ideally we should also add a
*_DISABLE_DEPRECATED macro etc.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Diffstat (limited to 'src/polkitagent')
-rw-r--r-- | src/polkitagent/polkitagentlistener.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c index 5bddd03..29a0fdf 100644 --- a/src/polkitagent/polkitagentlistener.c +++ b/src/polkitagent/polkitagentlistener.c @@ -535,6 +535,15 @@ listener_died (gpointer user_data, server_free (server); } +/** + * polkit_agent_register_listener: + * @listener: A #PolkitAgentListener. + * @subject: The subject to become an authentication agent for, typically a #PolkitUnixSession object. + * @object_path: The D-Bus object path to use for the authentication agent or %NULL for the default object path. + * @error: Return location for error. + * + * (deprecated) + */ gboolean polkit_agent_register_listener (PolkitAgentListener *listener, PolkitSubject *subject, |