summaryrefslogtreecommitdiff
path: root/tests/test-utils.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-11-30 21:59:55 +0100
committerDan Winship <danw@gnome.org>2011-12-01 11:09:21 +0100
commit60a4fd63d411fb5b12cfd9e27b111b0ec476a87f (patch)
tree6003d1b0378ad18a6fe2fc2f953cbac17aee749e /tests/test-utils.c
parent9afab51d38c0c7d75ce0fb50902b729f1450bbd3 (diff)
downloadlibsoup-60a4fd63d411fb5b12cfd9e27b111b0ec476a87f.tar.gz
libsoup-60a4fd63d411fb5b12cfd9e27b111b0ec476a87f.tar.bz2
libsoup-60a4fd63d411fb5b12cfd9e27b111b0ec476a87f.zip
Require glib 2.31 and update to new thread APIs
Diffstat (limited to 'tests/test-utils.c')
-rw-r--r--tests/test-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 05eaba0a..47f1db01 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -296,8 +296,7 @@ test_server_new (gboolean in_own_thread, gboolean ssl)
if (in_own_thread) {
GThread *thread;
- thread = g_thread_create (run_server_thread, server,
- TRUE, NULL);
+ thread = g_thread_new ("server_thread", run_server_thread, server);
g_object_set_data (G_OBJECT (server), "thread", thread);
} else
soup_server_run_async (server);