summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2018-01-29 09:42:04 +0000
committerSimon McVittie <smcv@debian.org>2018-01-29 09:42:04 +0000
commit20dce212d5554d5aaf25cba51f594b360a0f799d (patch)
tree02470c1ea6315108e1ab59d03f13d75b7287e17f
parentc9f1a9671e5c67da3a7d730407241b995c6606f9 (diff)
downloaddbus-glib-20dce212d5554d5aaf25cba51f594b360a0f799d.tar.gz
test-thread-client: Avoid deprecated g_thread_create
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r--tests/test-thread-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-thread-client.c b/tests/test-thread-client.c
index 79de541..dbe92f8 100644
--- a/tests/test-thread-client.c
+++ b/tests/test-thread-client.c
@@ -110,7 +110,7 @@ main (int argc, char *argv[])
for (i = 0; i < N_TEST_THREADS; i++)
{
- g_thread_create (thread_func, GINT_TO_POINTER (i), FALSE, NULL);
+ g_thread_new ("client thread", thread_func, GINT_TO_POINTER (i));
}
loop = g_main_loop_new (NULL, FALSE);