From 39a048e6f68e23c03ec6ed51bbc75da5afef73d9 Mon Sep 17 00:00:00 2001 From: Lars Windolf Date: Tue, 17 Oct 2023 21:04:58 +0200 Subject: [PATCH] Fixes #1297: Reorder loading plugins and deactivating webkit-settings --- src/plugins_engine.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins_engine.c b/src/plugins_engine.c index 63919ef3a..1083eef02 100644 --- a/src/plugins_engine.c +++ b/src/plugins_engine.c @@ -55,9 +55,6 @@ liferea_plugins_engine_init (LifereaPluginsEngine * engine) PeasPluginInfo *plugin_installer_plugin_info = NULL; engine->priv = liferea_plugins_engine_get_instance_private (engine); - - peas_engine_enable_loader (PEAS_ENGINE (engine), "python3"); - engine->priv->plugin_settings = g_settings_new ("net.sf.liferea.plugins"); /* Disable incompatible webkit-settings plugin */ @@ -78,6 +75,8 @@ liferea_plugins_engine_init (LifereaPluginsEngine * engine) } g_free (names); + peas_engine_enable_loader (PEAS_ENGINE (engine), "python3"); + /* Require Lifereas's typelib. */ typelib_dir = g_build_filename (PACKAGE_LIB_DIR, "girepository-1.0", NULL);