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>
Wed, 8 Nov 2023 16:30:21 +0000 (16:30 +0000)
commit050e9b4facef7fb16ae0a0c5389aadd289d07d92
treed87ae807b37b4529df2623752d55b63a7dd9cf35
parent6b6b2482b96fa3e7de2fbc8e56fbefd964dd398b
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