[gnome-software] Revert "trivial: Add missing ifdef for AS_ICON_KIND_LOCAL"



commit 07a975c1bfc116d0d74cb516f06d417ac68a64d6
Author: Kalev Lember <kalevlember gmail com>
Date:   Tue Oct 21 14:11:37 2014 +0200

    Revert "trivial: Add missing ifdef for AS_ICON_KIND_LOCAL"
    
    The whole function was already guarded by #if AS_CHECK_VERSION(0,3,1).
    
    This reverts commit d081e1b2c485bd6a71e464eb6b7affd5196a36bf.

 src/plugins/gs-plugin-appstream.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 5b5da1f..c3abaab 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -208,9 +208,7 @@ 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]