[gnome-packagekit/gnome-2-32] Add required compat defines for PackageKit < 0.6.5. Fixes fd#30139



commit 823f7ad22a5ad162cb3ee47419bcf9d5e56dd532
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 13 09:34:26 2010 +0100

    Add required compat defines for PackageKit < 0.6.5. Fixes fd#30139

 src/gpk-enum.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index 8641d6d..e4759ab 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -70,6 +70,10 @@ typedef enum {
 #define PK_CLIENT_ERROR_LAST						(PK_CLIENT_ERROR_DECLINED_SIMULATION + 1)
 #endif
 
+#if (!PK_CHECK_VERSION(0,6,5))
+#define PK_MESSAGE_ENUM_OTHER_UPDATES_HELD_BACK				(PK_MESSAGE_ENUM_REPO_FOR_DEVELOPERS_ONLY + 1)
+#endif
+
 void		 gpk_enum_test				(gpointer	 data);
 const gchar	*gpk_role_enum_to_localised_past	(PkRoleEnum	 role)
 							 G_GNUC_CONST;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]