[gnome-software] trivial: Remove some dead code



commit 604e47a3fabe570347c6e5f64fb51617edbe985b
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 29 13:53:43 2015 +0100

    trivial: Remove some dead code

 src/plugins/gs-plugin-appstream.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 53c22ce..8e6821f 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -34,7 +34,6 @@ struct GsPluginPrivate {
        GMutex                   store_mutex;
        gchar                   *locale;
        gsize                    done_init;
-       gboolean                 has_hi_dpi_support;
 };
 
 static gboolean gs_plugin_refine_item (GsPlugin *plugin, GsApp *app, AsApp *item, GError **error);
@@ -244,15 +243,6 @@ gs_plugin_startup (GsPlugin *plugin, GError **error)
                        as_app_add_keyword (app, NULL, origin);
                }
        }
-
-       /* look for any application with a HiDPI icon kudo */
-       for (i = 0; i < items->len; i++) {
-               app = g_ptr_array_index (items, i);
-               if (as_app_has_kudo_kind (app, AS_KUDO_KIND_HI_DPI_ICON)) {
-                       plugin->priv->has_hi_dpi_support = TRUE;
-                       break;
-               }
-       }
 out:
        g_mutex_unlock (&plugin->priv->store_mutex);
        return ret;


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