Don't list images from unknown directories in icon cache
authorLoic Minier <lool@dooz.org>
Sun, 21 Oct 2007 20:05:42 +0000 (22:05 +0200)
committerSimon McVittie <smcv@debian.org>
Tue, 3 Apr 2018 07:41:09 +0000 (08:41 +0100)
commitc55b169222ca91f92e82cad00404abd80611c8e6
tree023523b90f1ce635ffd9de35f42bc8a8486c4358
parent23402bd3def68048c74c9b5b93dfc7509fdf0967
Don't list images from unknown directories in icon cache

After GTK+ 2.12.0, gtk-update-icon-cache fails if there is a PNG file
placed directly in /usr/share/icons/hicolor (not in a correct
subdirectory like 48x48/apps).

TODO: This is believed to have been fixed differently upstream, so maybe
this change is no longer necessary:
"I believe a slightly different fix that I did some time ago fixes this
too." --Matthias Clasen, 2008-02-16 04:43:10 UTC

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=451634
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444285
Forwarded: yes
Applied-upstream: no

Gbp-Pq: Name 060_ignore-random-icons.patch
gtk/updateiconcache.c