[gnome-software/gnome-3-18] trivial: Remove some dead code



commit 2aea9ccee51534d93740ab97856bfa19ec9f55aa
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 fbc3ed5..bba0762 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);
@@ -243,15 +242,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);
        gs_profile_stop (plugin->profile, "appstream::startup");


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