[gnome-software] Fix compile for people using appstream-glib from git master



commit 74fbd3a5664baf7b48999cab747000caddfcfc86
Author: Richard Hughes <richard hughsie com>
Date:   Fri Aug 22 19:40:49 2014 +0100

    Fix compile for people using appstream-glib from git master

 src/plugins/gs-plugin-appstream.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 1f87db2..0a2c351 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -29,6 +29,10 @@
 
 #define        GS_PLUGIN_APPSTREAM_MAX_SCREENSHOTS     5
 
+#if AS_CHECK_VERSION(0,3,0)
+#define as_app_get_id_full(a)  as_app_get_id(a)
+#endif
+
 struct GsPluginPrivate {
        AsStore                 *store;
        gchar                   *locale;


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