[gnome-software] trivial: Add missing ifdef for AS_ICON_KIND_LOCAL
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Add missing ifdef for AS_ICON_KIND_LOCAL
- Date: Tue, 21 Oct 2014 11:45:58 +0000 (UTC)
commit d081e1b2c485bd6a71e464eb6b7affd5196a36bf
Author: Kalev Lember <kalevlember gmail com>
Date: Tue Oct 21 13:42:54 2014 +0200
trivial: Add missing ifdef for AS_ICON_KIND_LOCAL
src/plugins/gs-plugin-appstream.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index c3abaab..5b5da1f 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -208,7 +208,9 @@ gs_plugin_refine_item_pixbuf (GsPlugin *plugin, GsApp *app, AsApp *item)
gs_app_set_icon (app, as_icon_get_name (icon));
break;
case AS_ICON_KIND_STOCK:
+#if AS_CHECK_VERSION(0,2,7)
case AS_ICON_KIND_LOCAL:
+#endif
gs_app_set_icon (app, as_icon_get_name (icon));
ret = gs_app_load_icon (app, plugin->scale, &error);
if (!ret) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]