summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-20 15:35:12 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:35 -0700
commita12402e282663005a45c2605e09b3bfb9f992a3b (patch)
tree27a16316fb0d4c5ba61e717f02400b9244b0fe3f
parent8d91b142fb58b95435a1850ac51b349c39fbabcf (diff)
downloadlibpeas-a12402e282663005a45c2605e09b3bfb9f992a3b.tar.gz
loaders/python: PyEval_InitThreads() is no longer necessary
This is always the case, so we can drop it from our code.
-rw-r--r--loaders/python/peas-plugin-loader-python.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index b1c6099..e2a6327 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -257,7 +257,6 @@ peas_plugin_loader_python_initialize (PeasPluginLoader *loader)
/* Initialize support for threads */
pyg_enable_threads ();
- PyEval_InitThreads ();
/* Only redirect warnings when python was not already initialized */
if (!pyloader->must_finalize_python)