Remove duplicate definitions of enumeration types
authorColin Walters <walters@verbum.org>
Fri, 10 Sep 2010 18:42:51 +0000 (14:42 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 10 Sep 2010 18:51:30 +0000 (14:51 -0400)
These are defined in polkitenumtypes.h, don't re-define them.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/polkit/polkitcheckauthorizationflags.h
src/polkit/polkiterror.h
src/polkit/polkitimplicitauthorization.h

index 94aa070d4b264bb5b80969932f43c12ee77a6119..4baa0d19751d9bf010eb209babaa2053d778d48d 100644 (file)
 
 G_BEGIN_DECLS
 
-GType polkit_check_authorization_flags_get_type (void) G_GNUC_CONST;
-
-#define POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS (polkit_check_authorization_flags_get_type ())
-
 /**
  * PolkitCheckAuthorizationFlags:
  * @POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE: No flags set.
index b31583d36143aea489d73bc06a256657b2eb64f9..e49cabfaa1aeae4e60b5e2699e9dac5a32dfc04f 100644 (file)
@@ -40,10 +40,6 @@ G_BEGIN_DECLS
 
 GQuark polkit_error_quark (void);
 
-GType polkit_error_get_type (void) G_GNUC_CONST;
-
-#define POLKIT_TYPE_ERROR (polkit_error_get_type ())
-
 /**
  * PolkitError:
  * @POLKIT_ERROR_FAILED: The operation failed.
index 9e5c51c9441a35e2e98c280322798df6b554ac5b..dee2611c508d4c19c42d5f96bfa9144a7581ec89 100644 (file)
 
 G_BEGIN_DECLS
 
-GType polkit_implicit_authorization_get_type (void) G_GNUC_CONST;
-
-#define POLKIT_TYPE_IMPLICIT_AUTHORIZATION (polkit_implicit_authorization_get_type ())
-
 /**
  * PolkitImplicitAuthorization:
  * @POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN: Unknown whether the subject is authorized, never returned in any public API.