[pygobject] Drop obsolete g_thread_init()
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Drop obsolete g_thread_init()
- Date: Wed, 15 Feb 2012 13:37:02 +0000 (UTC)
commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
Author: Martin Pitt <martin pitt ubuntu com>
Date: Wed Feb 15 13:36:39 2012 +0100
Drop obsolete g_thread_init()
Not necessary any more since glib 2.24, and we depend on 2.31.
gi/_glib/pyglib.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gi/_glib/pyglib.c b/gi/_glib/pyglib.c
index 40df53b..a077779 100644
--- a/gi/_glib/pyglib.c
+++ b/gi/_glib/pyglib.c
@@ -153,9 +153,6 @@ pyglib_enable_threads(void)
return TRUE;
PyEval_InitThreads();
- if (!g_threads_got_initialized)
- g_thread_init(NULL);
-
_PyGLib_API->threads_enabled = TRUE;
pyglib_thread_state_tls_key = PyThread_create_key();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]