[gnome-packagekit] Fix up two issues when PackageKit < 0.5.x
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Fix up two issues when PackageKit < 0.5.x
- Date: Thu, 18 Jun 2009 11:31:38 -0400 (EDT)
commit 1c9952ef7794312ddb379f0c824cedd9e8acdcd4
Author: Richard Hughes <richard hughsie com>
Date: Thu Jun 18 16:28:16 2009 +0100
Fix up two issues when PackageKit < 0.5.x
src/gpk-common.h | 1 +
src/gpk-enum.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-common.h b/src/gpk-common.h
index 8e2e538..5822a4f 100644
--- a/src/gpk-common.h
+++ b/src/gpk-common.h
@@ -27,6 +27,7 @@
#include <packagekit-glib/packagekit.h>
#include "gpk-animated-icon.h"
+#include "gpk-enum.h"
G_BEGIN_DECLS
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index e701ed3..53c85a3 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -92,6 +92,7 @@ typedef guint PkMediaTypeEnum;
#if (!PK_CHECK_VERSION(0,5,0))
#define PK_EXIT_ENUM_NEED_UNTRUSTED (PK_EXIT_ENUM_MEDIA_CHANGE_REQUIRED + 1)
#define pk_error_code_is_need_untrusted gpk_error_code_is_need_untrusted
+#define pk_client_set_only_trusted(c,t)
#endif
void gpk_enum_test (gpointer data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]