From a12402e282663005a45c2605e09b3bfb9f992a3b Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 20 Mar 2023 15:35:12 -0700 Subject: loaders/python: PyEval_InitThreads() is no longer necessary This is always the case, so we can drop it from our code. --- loaders/python/peas-plugin-loader-python.c | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.1