[gnome-software] Don't use missing-image if the image is missing



commit 8b637ad2526157a67f0f39b84e4ee9e514687360
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 26 22:20:33 2013 -0400

    Don't use missing-image if the image is missing
    
    Better to show an empty space than a missing image. Also, this
    is deprecated GTK+ api.

 src/plugins/gs-plugin-datadir-apps.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-datadir-apps.c b/src/plugins/gs-plugin-datadir-apps.c
index 0e6579f..c4eb1d5 100644
--- a/src/plugins/gs-plugin-datadir-apps.c
+++ b/src/plugins/gs-plugin-datadir-apps.c
@@ -167,8 +167,6 @@ gs_plugin_datadir_apps_extract_desktop_data (GsPlugin *plugin,
                                      G_KEY_FILE_DESKTOP_GROUP,
                                      G_KEY_FILE_DESKTOP_KEY_ICON,
                                      NULL);
-       if (icon == NULL)
-               icon = g_strdup (GTK_STOCK_MISSING_IMAGE);
 
        /* set pixbuf */
        if (icon[0] == '/') {


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