diff --git a/introspection.patch b/introspection.patch new file mode 100644 index 0000000..fe9f121 --- /dev/null +++ b/introspection.patch @@ -0,0 +1,42 @@ +diff -up polkit-0.98/src/polkit/polkitcheckauthorizationflags.h.introspection polkit-0.98/src/polkit/polkitcheckauthorizationflags.h +--- polkit-0.98/src/polkit/polkitcheckauthorizationflags.h.introspection 2010-11-12 23:07:10.037719001 -0500 ++++ polkit-0.98/src/polkit/polkitcheckauthorizationflags.h 2010-11-12 23:07:18.055719011 -0500 +@@ -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 -up polkit-0.98/src/polkit/polkiterror.h.introspection polkit-0.98/src/polkit/polkiterror.h +--- polkit-0.98/src/polkit/polkiterror.h.introspection 2010-11-12 23:06:47.342719007 -0500 ++++ polkit-0.98/src/polkit/polkiterror.h 2010-11-12 23:06:57.050719001 -0500 +@@ -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 -up polkit-0.98/src/polkit/polkitimplicitauthorization.h.introspection polkit-0.98/src/polkit/polkitimplicitauthorization.h +--- polkit-0.98/src/polkit/polkitimplicitauthorization.h.introspection 2010-11-12 23:06:31.200718998 -0500 ++++ polkit-0.98/src/polkit/polkitimplicitauthorization.h 2010-11-12 23:06:38.136719001 -0500 +@@ -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.