forked from AuroraMiddleware/gtk
intialize random number generator state upon program start, to enable
Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com> * tests/testrichtext.c (main): intialize random number generator state upon program start, to enable truely random testing.
This commit is contained in:
parent
0edb55d15c
commit
259980785a
@ -1,3 +1,8 @@
|
||||
Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* tests/testrichtext.c (main): intialize random number generator state
|
||||
upon program start, to enable truely random testing.
|
||||
|
||||
2006-09-13 Michael Emmel <mike.emmel@gmail.com>
|
||||
|
||||
* gdk/directfb/gdkcolor-directfb.c small clean ups include order
|
||||
|
@ -143,6 +143,10 @@ main (gint argc,
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
|
||||
/* initialize random numbers, disable this for deterministic testing */
|
||||
if (1)
|
||||
quick_rand32_accu = g_random_int();
|
||||
|
||||
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||
gtk_widget_set_size_request (window, 400, 300);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user