[gnome-software/wip/rancell/ubuntu-3-20-rebase: 19/52] Define AS_APP_QUIRK_NEEDS_REBOOT if not available



commit 5825ee83ebcae6e9d0b0279dbc9f5a7c4aac6765
Author: Iain Lane <iain orangesquash org uk>
Date:   Fri Apr 15 11:53:45 2016 -0400

    Define AS_APP_QUIRK_NEEDS_REBOOT if not available

 src/gs-app.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app.h b/src/gs-app.h
index d1be38b..1a0255a 100644
--- a/src/gs-app.h
+++ b/src/gs-app.h
@@ -73,6 +73,10 @@ typedef enum {
 
 #define        GS_APP_KUDOS_WEIGHT_TO_PERCENTAGE(w)    (w * 20)
 
+#if !AS_CHECK_VERSION(0,5,14)
+#define AS_APP_QUIRK_NEEDS_REBOOT              (1 << 4)
+#endif
+
 GQuark          gs_app_error_quark             (void);
 
 GsApp          *gs_app_new                     (const gchar    *id);


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