Skip to content

generator: Rework random number seeding to not use deprecated functions

Philip Withnall requested to merge deprecation-fixes into master

g_get_current_time() is deprecated in the upcoming GLib release as it’s not year-2038-safe. Use g_get_real_time() instead and slightly rework the seeding to use the full range of numbers available.

Signed-off-by: Philip Withnall withnall@endlessm.com

Merge request reports