• Ell's avatar
    app: fix propgui random seed generation · 07c81abf
    Ell authored
    After the switch of random-seed properties from INT to UINT, their
    upper bound results in a negative value when converted to a
    gint32, causing a CRITICAL in the call to g_random_int_range().
    Use g_random_double_range() instead, which has enough precision to
    accurately represent all values in the range, and round the result.
    07c81abf
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
gimppropgui-channel-mixer.c Loading commit data...
gimppropgui-channel-mixer.h Loading commit data...
gimppropgui-color-balance.c Loading commit data...
gimppropgui-color-balance.h Loading commit data...
gimppropgui-color-rotate.c Loading commit data...
gimppropgui-color-rotate.h Loading commit data...
gimppropgui-color-to-alpha.c Loading commit data...
gimppropgui-color-to-alpha.h Loading commit data...
gimppropgui-convolution-matrix.c Loading commit data...
gimppropgui-convolution-matrix.h Loading commit data...
gimppropgui-diffraction-patterns.c Loading commit data...
gimppropgui-diffraction-patterns.h Loading commit data...
gimppropgui-eval.c Loading commit data...
gimppropgui-eval.h Loading commit data...
gimppropgui-generic.c Loading commit data...
gimppropgui-generic.h Loading commit data...
gimppropgui-hue-saturation.c Loading commit data...
gimppropgui-hue-saturation.h Loading commit data...
gimppropgui-panorama-projection.c Loading commit data...
gimppropgui-panorama-projection.h Loading commit data...
gimppropgui-recursive-transform.c Loading commit data...
gimppropgui-recursive-transform.h Loading commit data...
gimppropgui-shadows-highlights.c Loading commit data...
gimppropgui-shadows-highlights.h Loading commit data...
gimppropgui-spiral.c Loading commit data...
gimppropgui-spiral.h Loading commit data...
gimppropgui-supernova.c Loading commit data...
gimppropgui-supernova.h Loading commit data...
gimppropgui-utils.c Loading commit data...
gimppropgui-utils.h Loading commit data...
gimppropgui.c Loading commit data...
gimppropgui.h Loading commit data...
propgui-types.h Loading commit data...