diff options
author | Miloslav Trmač <mitr@redhat.com> | 2013-04-10 03:01:16 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2013-04-15 23:22:43 +0200 |
commit | 0552a3ef4c89a7d87742f63d80878a5ef2574f10 (patch) | |
tree | 74ec7fb691cbf841b9c97f4916792e45ab598d85 | |
parent | eec38ce7ad1b4d82bc075490b1011735ffb4e18a (diff) | |
download | polkit-0552a3ef4c89a7d87742f63d80878a5ef2574f10.tar.gz |
Fold enum documentation into relevant classes
Fold PolkitImplicitAuthorization and PolkitCheckAuthorizationFlags
into the relevant classes in the section list; polkit-1-docs.xml is
already not including the enum documents.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
-rw-r--r-- | docs/polkit/polkit-1-sections.txt | 20 | ||||
-rw-r--r-- | src/polkit/polkitimplicitauthorization.c | 8 |
2 files changed, 3 insertions, 25 deletions
diff --git a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt index a773795..e7db6e3 100644 --- a/docs/polkit/polkit-1-sections.txt +++ b/docs/polkit/polkit-1-sections.txt @@ -66,6 +66,7 @@ polkit_authority_get_type POLKIT_AUTHORITY_CLASS POLKIT_IS_AUTHORITY_CLASS POLKIT_AUTHORITY_GET_CLASS +polkit_check_authorization_flags_get_type </SECTION> <SECTION> @@ -236,6 +237,8 @@ polkit_action_description_get_implicit_inactive polkit_action_description_get_implicit_active polkit_action_description_get_annotation polkit_action_description_get_annotation_keys +polkit_implicit_authorization_to_string +polkit_implicit_authorization_from_string <SUBSECTION Standard> PolkitActionDescriptionClass POLKIT_ACTION_DESCRIPTION @@ -245,23 +248,6 @@ polkit_action_description_get_type POLKIT_ACTION_DESCRIPTION_CLASS POLKIT_IS_ACTION_DESCRIPTION_CLASS POLKIT_ACTION_DESCRIPTION_GET_CLASS -</SECTION> - -<SECTION> -<FILE>polkitcheckauthorizationflags</FILE> -POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS -PolkitCheckAuthorizationFlags -<SUBSECTION Standard> -polkit_check_authorization_flags_get_type -</SECTION> - -<SECTION> -<FILE>polkitimplicitauthorization</FILE> -POLKIT_TYPE_IMPLICIT_AUTHORIZATION -PolkitImplicitAuthorization -polkit_implicit_authorization_to_string -polkit_implicit_authorization_from_string -<SUBSECTION Standard> polkit_implicit_authorization_get_type </SECTION> diff --git a/src/polkit/polkitimplicitauthorization.c b/src/polkit/polkitimplicitauthorization.c index 1d6a933..7dffb3f 100644 --- a/src/polkit/polkitimplicitauthorization.c +++ b/src/polkit/polkitimplicitauthorization.c @@ -28,14 +28,6 @@ #include "polkitimplicitauthorization.h" #include "polkitprivate.h" -/** - * SECTION:polkitimplicitauthorization - * @title: PolkitImplicitAuthorization - * @short_description: Implicit Authorizations - * - * Possible implicit authorizations. - */ - gboolean polkit_implicit_authorization_from_string (const gchar *string, PolkitImplicitAuthorization *out_implicit_authorization) |