GNOME Bugzilla – Bug 377981
use of g_random_double_range() in gimpbrushcore.c
Last modified: 2006-11-22 20:23:26 UTC
mitch says use of g_rand_double_range is prefered over g_random_double_range() so this patch fixes it in gimpbrushcore.c
Created attachment 77009 [details] [review] patch to replace g_random_double_range with g_rand_double_range
The random number generator should become part of the GimpBrushCore object so that it doesn't need to be initialized every so often.
Created attachment 77035 [details] [review] patch to add a GRand to gimpbrushcore and use it GRand added to gimpbrushcore
Fixed in CVS: 2006-11-22 Michael Natterer <mitch@gimp.org> * app/paint/gimpbrushcore.[ch]: applied modified patch from Adrian Likins which adds a GRand to the GimpBrushCore struct and uses it instead of using g_random_foo() functions. Fixes bug #377981.