[gnome-software: 9/18] gs-plugin-icons: Stop adding custom theme paths for stock icons
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 9/18] gs-plugin-icons: Stop adding custom theme paths for stock icons
- Date: Wed, 10 Mar 2021 15:03:49 +0000 (UTC)
commit b8818da8072ce87a8042050767b9cccf1ad78ab5
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri Mar 5 00:47:56 2021 +0000
gs-plugin-icons: Stop adding custom theme paths for stock icons
The appstream spec doesn’t support the filename being set for
`AS_ICON_KIND_STOCK`, so I don’t think this code was ever used. It
doesn’t make sense, and seems an oddity introduced in the
libappstream-glib → libappstream migration.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Helps: #1147
plugins/core/gs-plugin-icons.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/plugins/core/gs-plugin-icons.c b/plugins/core/gs-plugin-icons.c
index d2e0bcf14..3d71fc4b7 100644
--- a/plugins/core/gs-plugin-icons.c
+++ b/plugins/core/gs-plugin-icons.c
@@ -241,7 +241,6 @@ gs_plugin_icons_load_stock (GsPlugin *plugin, AsIcon *icon, GError **error)
return NULL;
}
- gs_plugin_icons_add_theme_path (plugin, as_icon_get_filename (icon));
size = (gint) (64 * gs_plugin_get_scale (plugin));
pixbuf = gtk_icon_theme_load_icon (priv->icon_theme,
as_icon_get_name (icon),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]