• Sven Neumann's avatar
    removed the "last_visited" field from GimpGradient. Instead added the new · 8de1e94b
    Sven Neumann authored
    2005-02-27  Sven Neumann  <sven@gimp.org>
    
    	* app/core/gimpgradient.[ch]: removed the "last_visited" field
    	from GimpGradient. Instead added the new function
    	gimp_gradient_get_color_at_segment() that allows the caller to do
    	the same optimization.
    
    	* app/actions/gradient-editor-commands.c
    	* app/core/gimpdrawable-blend.c
    	* app/core/gimppalette-import.c
    	* app/paint/gimppaintoptions.c
    	* app/widgets/gimpgradienteditor.c
    	* app/widgets/gimpgradientselect.c
    	* app/widgets/gimpviewrenderergradient.c: changed accordingly.
    
    	* app/pdb/gradient_cmds.c
    	* app/pdb/gradients_cmds.c: regenerated.
    8de1e94b
gimpgradientselect.c 6.97 KB