Bug 106412 - Misleading polkit_agent_listener_initiate_authentication_finish documentation
Summary: Misleading polkit_agent_listener_initiate_authentication_finish documentation
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-05 18:59 UTC by Corentin Noël
Modified: 2018-08-20 21:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix misleading doc (1006 bytes, patch)
2018-05-05 18:59 UTC, Corentin Noël
Details | Splinter Review

Description Corentin Noël 2018-05-05 18:59:17 UTC
The documentation says that it returns TRUE on error when it should return FALSE (also consistent with what is done in the GLib world)
Comment 1 Corentin Noël 2018-05-05 18:59:47 UTC
Created attachment 139375 [details] [review]
fix misleading doc
Comment 2 Corentin Noël 2018-05-05 19:04:00 UTC
Here is the only place where this is used
https://cgit.freedesktop.org/polkit/tree/src/polkitagent/polkitagentlistener.c#n598
Comment 3 GitLab Migration User 2018-08-20 21:34:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/10.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.