icontheme: Remove some dead code
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Feb 2020 22:41:00 +0000 (23:41 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 5 Feb 2020 11:28:39 +0000 (06:28 -0500)
gtk/gtkicontheme.c

index 9820aacb6a3f05425d8a084aa13cea6c0275d5fa..5293bbb9b358a4f059c41bb2720479929f59c343 100644 (file)
@@ -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);