summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-10 14:42:51 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-09-10 14:51:30 -0400
commit920c40ef079fd2907f6c08d965d6d87eaf58f52a (patch)
tree0c333a4532aaba643c6e3f89c304e1f62e3f3be9
parent01e9a56df9abbd9dacccb215969e2dc1d46366d7 (diff)
Remove duplicate definitions of enumeration types
These are defined in polkitenumtypes.h, don't re-define them. Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/polkit/polkitcheckauthorizationflags.h4
-rw-r--r--src/polkit/polkiterror.h4
-rw-r--r--src/polkit/polkitimplicitauthorization.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/src/polkit/polkitcheckauthorizationflags.h b/src/polkit/polkitcheckauthorizationflags.h
index 94aa070..4baa0d1 100644
--- a/src/polkit/polkitcheckauthorizationflags.h
+++ b/src/polkit/polkitcheckauthorizationflags.h
@@ -30,10 +30,6 @@
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.
diff --git a/src/polkit/polkiterror.h b/src/polkit/polkiterror.h
index b31583d..e49cabf 100644
--- a/src/polkit/polkiterror.h
+++ b/src/polkit/polkiterror.h
@@ -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.
diff --git a/src/polkit/polkitimplicitauthorization.h b/src/polkit/polkitimplicitauthorization.h
index 9e5c51c..dee2611 100644
--- a/src/polkit/polkitimplicitauthorization.h
+++ b/src/polkit/polkitimplicitauthorization.h
@@ -30,10 +30,6 @@
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.