[gegl] Initialise threading before gegl in buffer-test
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Initialise threading before gegl in buffer-test
- Date: Mon, 21 Jun 2010 19:40:10 +0000 (UTC)
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]