• Matthias Clasen's avatar
    Add a note regarding icon theme changes. · 97ec1cdf
    Matthias Clasen authored
    2005-08-22  Matthias Clasen  <mclasen@redhat.com>
    
    	* gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
    	regarding icon theme changes.
    
    	* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
    	pixbufs which are backed by the mmapped memory of an icon cache,
    	increase the refcount of the icon cache, so that the memory is not
    	munmapped away underneath the pixbuf upon icon theme changes.
    	(#314170, Kjartan Maraas)
    97ec1cdf
gtkiconcache.c 11.3 KB