summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-04 23:41:00 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-02-05 06:28:39 -0500
commit1cb575a138012ad2823cf4189d38c222943550f6 (patch)
tree4ec5d32cbea38ea8f856e6bb81bf72bb0b7e6f7f /gtk/gtkicontheme.c
parent9a446f2041a3ec2555a4c9e5889f5a496a9f265a (diff)
downloadgtk+-1cb575a138012ad2823cf4189d38c222943550f6.tar.gz
icontheme: Remove some dead code
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 9820aacb6a..5293bbb9b3 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -1633,19 +1633,9 @@ load_themes (GtkIconTheme *self)
if (self->current_theme)
insert_theme (self, self->current_theme);
- /* Always look in the Adwaita, gnome and hicolor icon themes.
- * Looking in hicolor is mandated by the spec, looking in Adwaita
- * and gnome is a pragmatic solution to prevent missing icons in
- * GTK+ applications when run under, e.g. KDE.
- */
-#if 0
- insert_theme (self, DEFAULT_self);
- insert_theme (self, "gnome");
-#endif
insert_theme (self, FALLBACK_ICON_THEME);
self->themes = g_list_reverse (self->themes);
-
self->unthemed_icons = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, (GDestroyNotify)free_unthemed_icon);