summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-plugins-engine.c4
-rw-r--r--pluma/pluma-tab.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c
index fcedd86f..e765b0f2 100644
--- a/pluma/pluma-plugins-engine.c
+++ b/pluma/pluma-plugins-engine.c
@@ -60,14 +60,14 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine)
pluma_debug (DEBUG_PLUGINS);
+ peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
+
engine->priv = G_TYPE_INSTANCE_GET_PRIVATE (engine,
PLUMA_TYPE_PLUGINS_ENGINE,
PlumaPluginsEnginePrivate);
engine->priv->plugin_settings = g_settings_new (PLUMA_SCHEMA);
- peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
-
/* This should be moved to libpeas */
if (!g_irepository_require (g_irepository_get_default (),
"Peas", "1.0", 0, &error))
diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c
index 02024e89..8e0d4d47 100644
--- a/pluma/pluma-tab.c
+++ b/pluma/pluma-tab.c
@@ -1031,8 +1031,6 @@ document_loaded (PlumaDocument *document,
{
GtkWidget *w;
- pluma_tab_get_view (tab);
-
tab->priv->not_editable = TRUE;
w = pluma_file_already_open_warning_message_area_new (uri);