[gnome-packagekit] Fix compile with old versions of PackageKit



commit 7b942e354834c29278a7f450dd48a5005b8ddede
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 13 08:46:18 2009 +0100

    Fix compile with old versions of PackageKit

 src/gpk-enum.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index 4d46524..1efdff1 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -112,6 +112,8 @@ typedef guint PkMediaTypeEnum;
 #define PK_STATUS_ENUM_SCAN_PROCESS_LIST		(PK_STATUS_ENUM_WAITING_FOR_AUTH + 1)
 #define PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES		(PK_STATUS_ENUM_SCAN_PROCESS_LIST + 1)
 #define PK_STATUS_ENUM_CHECK_LIBRARIES			(PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES + 1)
+#undef PK_STATUS_ENUM_UNKNOWN
+#define PK_STATUS_ENUM_UNKNOWN				(PK_STATUS_ENUM_CHECK_LIBRARIES + 1)
 #endif
 
 void		 gpk_enum_test				(gpointer	 data);



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