[gnome-software: 4/6] snap: Drop use of gs_app_has_pixbufs()




commit a5850e0a953a0475b6c2dcfc812c2436b812b634
Author: Philip Withnall <pwithnall endlessos org>
Date:   Sun Mar 14 16:27:19 2021 +0000

    snap: Drop use of gs_app_has_pixbufs()
    
    This should have been dropped in commit
    52fe59624429e3ed2b9311ee8223b77e52c7d4f3.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1170

 plugins/snap/gs-plugin-snap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index c8e17bed2..c7c87fcd9 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -1061,7 +1061,7 @@ refine_app_with_client (GsPlugin             *plugin,
        }
 
        /* load icon if requested */
-       if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON && !gs_app_has_pixbufs (app))
+       if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON)
                load_icon (plugin, client, app, snap_name, local_snap, store_snap, cancellable);
 
        return TRUE;


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