[gnome-packagekit] trivial: add a new compatibility enum for future code



commit 0775801e968816418d3d1b291727cafc3f96c575
Author: Richard Hughes <richard hughsie com>
Date:   Sun Apr 11 09:07:28 2010 +0100

    trivial: add a new compatibility enum for future code

 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 4224477..e0cd9bb 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,4))
+#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]