diff options
author | Simon McVittie <smcv@debian.org> | 2018-01-29 09:42:04 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2018-01-29 09:42:04 +0000 |
commit | 20dce212d5554d5aaf25cba51f594b360a0f799d (patch) | |
tree | 02470c1ea6315108e1ab59d03f13d75b7287e17f | |
parent | c9f1a9671e5c67da3a7d730407241b995c6606f9 (diff) | |
download | dbus-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.c | 2 |
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); |