Skip to content
  • Sven Neumann's avatar
    free the colormap and set colormap size to 0 after converting from · edf64d16
    Sven Neumann authored
    2003-08-28  Sven Neumann  <sven@gimp.org>
    
    	* app/core/gimpimage-convert.c (gimp_image_convert): free the
    	colormap and set colormap size to 0 after converting from indexed.
    	Should make gimp_image_get_cmap() behave as advertized again.
    
    	* tools/pdbgen/pdb/image.pdb: use gimp_image_get_colormap_size()
    	instead of accessing gimage->num_cols directly.
    
    	* app/pdb/image_cmds.c: regenerated.
    edf64d16