From 0552a3ef4c89a7d87742f63d80878a5ef2574f10 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Wed, 10 Apr 2013 03:01:16 +0200 Subject: 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 --- docs/polkit/polkit-1-sections.txt | 20 +++----------------- 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
@@ -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 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 -
- -
-polkitcheckauthorizationflags -POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS -PolkitCheckAuthorizationFlags - -polkit_check_authorization_flags_get_type -
- -
-polkitimplicitauthorization -POLKIT_TYPE_IMPLICIT_AUTHORIZATION -PolkitImplicitAuthorization -polkit_implicit_authorization_to_string -polkit_implicit_authorization_from_string - polkit_implicit_authorization_get_type
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) -- cgit v1.2.3