conform: Avoid a deadlock
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 27 Jan 2012 11:42:33 +0000 (11:42 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 27 Jan 2012 11:42:33 +0000 (11:42 +0000)
Something is causing a deadlock when using clutter_threads_* API inside
the offscreen redirect conformance test. The conformance tests are
pretty insane anyway, so for the time being, let's put g_timeout_add()
back in while we figure out the issue.

tests/conform/test-offscreen-redirect.c

index 23759f8..44d7267 100644 (file)
@@ -333,7 +333,7 @@ test_offscreen_redirect (TestConformSimpleFixture *fixture,
 
       /* Start the test after a short delay to allow the stage to
          render its initial frames without affecting the results */
-      clutter_threads_add_timeout_full (G_PRIORITY_LOW, 250, timeout_cb, &data, NULL);
+      g_timeout_add_full (G_PRIORITY_LOW, 250, timeout_cb, &data, NULL);
 
       clutter_main ();