glib/tsrc/BC/tests/refcount/signals-multithread.c
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
child 72 403e7f6ed6c5
--- a/glib/tsrc/BC/tests/refcount/signals-multithread.c	Thu Aug 19 11:33:45 2010 +0300
+++ b/glib/tsrc/BC/tests/refcount/signals-multithread.c	Tue Aug 31 16:54:36 2010 +0300
@@ -31,7 +31,7 @@
 #define G_IS_TEST_CLASS(tclass)   (G_TYPE_CHECK_CLASS_TYPE ((tclass), G_TYPE_TEST))
 #define G_TEST_GET_CLASS(test)    (G_TYPE_INSTANCE_GET_CLASS ((test), G_TYPE_TEST, GTestClass))
 
-static GRand *rand;
+static GRand *grand;
 
 typedef struct _GTest GTest;
 typedef struct _GTestClass GTestClass;
@@ -103,7 +103,7 @@
       NULL
     };
 
-    rand = g_rand_new();
+    grand = g_rand_new();
 
     test_type = g_type_register_static (G_TYPE_OBJECT, "GTest",
         &test_info, 0);
@@ -240,7 +240,7 @@
 static void
 g_test_do_prop (GTest * test)
 {
-  test->value = g_rand_int (rand);
+  test->value = g_rand_int (grand);
   g_object_notify (G_OBJECT (test), "test-prop");
 }