[libpeas/wip/osx: 42/42] python-loader: Remove insertion of PEAS_PYEXECDIR in path



commit 966b1d3b768ed576d5f82bd3f2cb752388e661cb
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Mon Aug 25 19:04:09 2014 +0200

    python-loader: Remove insertion of PEAS_PYEXECDIR in path

 loaders/python/peas-plugin-loader-python.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index e0f587e..df2f96e 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -519,14 +519,6 @@ peas_plugin_loader_python_initialize (PeasPluginLoader *loader)
   g_free (argv[0]);
 #endif
 
-  if (!peas_plugin_loader_python_add_module_path (pyloader, PEAS_PYEXECDIR))
-    {
-      g_warning ("Error initializing Python Plugin Loader: "
-                 "failed to add the module path");
-
-      goto python_init_error;
-    }
-
   /* Initialize PyGObject */
   pygobject_init (PYGOBJECT_MAJOR_VERSION,
                   PYGOBJECT_MINOR_VERSION,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]