[gnome-packagekit] Trivial compile fix for old versions of libpackagekit-glib



commit 25a756f1d716b3410a4a826ed37986ef8e7498a3
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jul 1 16:53:59 2009 +0100

    Trivial compile fix for old versions of libpackagekit-glib

 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 e805ca2..30f3955 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -87,6 +87,8 @@ typedef guint PkMediaTypeEnum;
 #define PK_ERROR_ENUM_CANNOT_INSTALL_REPO_UNSIGNED	(PK_ERROR_ENUM_UPDATE_NOT_FOUND + 1)
 #define PK_ERROR_ENUM_CANNOT_UPDATE_REPO_UNSIGNED	(PK_ERROR_ENUM_CANNOT_INSTALL_REPO_UNSIGNED + 1)
 #define PK_STATUS_ENUM_WAITING_FOR_AUTH			(PK_STATUS_ENUM_WAITING_FOR_LOCK + 1)
+#undef PK_STATUS_ENUM_UNKNOWN
+#define PK_STATUS_ENUM_UNKNOWN				(PK_STATUS_ENUM_WAITING_FOR_AUTH + 1)
 #endif
 
 /* constants defined in 0.5.0 */



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