]> Pileus Git - ~andy/gtk/commit
Store only one copy of the pixel data for symlinked icons. To achieve
authorMatthias Clasen <mclasen@redhat.com>
Mon, 15 Aug 2005 03:52:34 +0000 (03:52 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 15 Aug 2005 03:52:34 +0000 (03:52 +0000)
commit329fc5da74317d5a2818a305176dcea9c9f8a9a0
treed46da656aedacbe7bf959eecc39dbadfd08728e5
parente54a45318dfe1a4e0ebd182ac162e12068ad205f
Store only one copy of the pixel data for symlinked icons. To achieve

2005-08-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/updateiconcache.c: Store only one copy of the pixel data
for symlinked icons. To achieve this, maintain a hashtable
mapping pathnames to pixel data, and share the pixel data for
all symlinks resolving to the same pathname. When writing out
the image data, write out the pixel data only the first time
it is met, and store the offset pointing to the first copy
for use in all later cases.
This reduces the size of the Bluecurve icon cache from 40
to 13MB. (#312972)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/updateiconcache.c