Skip to content
  • Sven Neumann's avatar
    app/gradient.c reviewed the gradient code. The old code used to use list · c668aaa4
    Sven Neumann authored
    2000-12-21  Sven Neumann  <sven@gimp.org>
    
    	* app/gradient.c
    	* app/gradient_select.[ch]: reviewed the gradient code. The old code
    	used to use list indices which led to bug #35612 and other problems.
    	We now attach a pointer to the gradient to each row in the GtkClists
    	and retrieve the matching row for a gradient using
    	gtk_clist_find_row_from_data(). Additionally I have added similar code
    	as we use for brushes to assure that no two gradients have the same
    	name.
    c668aaa4
To find the state of this project's repository at the time of any of these versions, check out the tags.