[libepc] Replace (deprecated) g_thread_create() with g_thread_new().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc] Replace (deprecated) g_thread_create() with g_thread_new().
- Date: Wed, 28 Oct 2015 11:43:49 +0000 (UTC)
commit a5076264fd8de6a695e11f2ae4cab5b7ee003907
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 28 12:40:53 2015 +0100
Replace (deprecated) g_thread_create() with g_thread_new().
libepc/tls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libepc/tls.c b/libepc/tls.c
index 9665908..ccec17b 100644
--- a/libepc/tls.c
+++ b/libepc/tls.c
@@ -176,7 +176,7 @@ epc_tls_private_key_new (GError **error)
epc_tls_check (context.rc);
context.loop = g_main_loop_new (NULL, FALSE);
- g_thread_create (epc_tls_private_key_thread, &context, FALSE, NULL);
+ g_thread_new (NULL, epc_tls_private_key_thread, &context);
g_main_loop_run (context.loop);
g_main_loop_unref (context.loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]