[gegl] Initialise threading before gegl in buffer-test



commit 84e8a872feb719a1bc7cc3cc0b8c7466a812b6c9
Author: Danny Robson <danny blubinc net>
Date:   Wed May 19 05:45:21 2010 +0000

    Initialise threading before gegl in buffer-test
    
    Failure to initialise threading prior to gegl causes fatal errors in
    gegl initialisation; hence, test failures.

 tests/buffer/buffer-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/buffer/buffer-test.c b/tests/buffer/buffer-test.c
index 116b97d..8e68731 100644
--- a/tests/buffer/buffer-test.c
+++ b/tests/buffer/buffer-test.c
@@ -290,6 +290,7 @@ void rectangle (GeglBuffer *buffer,
 gint main (gint argc, gchar **argv)
 {
   gint i;
+  g_thread_init (NULL);
   gegl_init (&argc, &argv);
 
   /* make tests dir */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]