Skip to content
  • Matthias Clasen's avatar
    Store builtin stock icons in an icon cache, instead of populating a hash · b983d1c6
    Matthias Clasen authored
    2005-11-04  Matthias Clasen  <mclasen@redhat.com>
    
            Store builtin stock icons in an icon cache, instead of
            populating a hash table with pixbufs at startup, to save both
            memory and startup time.
    
            * gtk/stock-icons/*: Reorganize the icons in a directory structure
            suitable for gtk-update-icon-cache, and rename them to match the
            stock ids.
    
            * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and
            add _gtk_icon_cache_has_icon_in_directory().
    
            * gtk/updateiconcache.c: Support a --source <VARIABLE> argument
            to store the contents of the icon cache in a C header.
    
            * gtk/gtkbuiltincache.h: Generated private header which contains
            the icon cache for the builtin icons.
    
            * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin
            icons, and use that in addition to the hash table whenever
            builtin icons are searched.
    
            *...
    b983d1c6