summaryrefslogtreecommitdiff
path: root/tests/test-utils.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-03-13 10:35:28 +0000
committerXan Lopez <xan@src.gnome.org>2008-03-13 10:35:28 +0000
commitfccd8f908249e7475262cda2d080ae33d81091d6 (patch)
tree021f98f3a1b2ec198d9618123dc4ba7c87fa129d /tests/test-utils.c
parent4e49357cc15eae01fbe4408e2ec509a9041f9b57 (diff)
downloadlibsoup-fccd8f908249e7475262cda2d080ae33d81091d6.tar.gz
libsoup-fccd8f908249e7475262cda2d080ae33d81091d6.tar.bz2
libsoup-fccd8f908249e7475262cda2d080ae33d81091d6.zip
g_thread_init should be called before any other glib function.
svn path=/trunk/; revision=1105
Diffstat (limited to 'tests/test-utils.c')
-rw-r--r--tests/test-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index b7564a4a..3c1005b7 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -70,8 +70,8 @@ test_init (int argc, char **argv, GOptionEntry *entries)
char *name;
GError *error = NULL;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
name = strrchr (argv[0], '/');
if (!name++)