[libpeas] State why C plugins are resident



commit ed7bddc84212a478fc81cee8d0613b6658850103
Author: Garrett Regier <alias301 gmail com>
Date:   Fri Feb 11 03:08:17 2011 -0800

    State why C plugins are resident
    
    Reason was found in gedit commit:
    http://git.gnome.org/browse/gedit/commit/?id=da7c0a948e344493c3301177243c6e5914d2f40a

 loaders/c/peas-plugin-loader-c.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/loaders/c/peas-plugin-loader-c.c b/loaders/c/peas-plugin-loader-c.c
index e933bcb..1d66be0 100644
--- a/loaders/c/peas-plugin-loader-c.c
+++ b/loaders/c/peas-plugin-loader-c.c
@@ -67,7 +67,9 @@ peas_plugin_loader_c_load (PeasPluginLoader *loader,
 
   if (module == NULL)
     {
-      /* For now we force all modules to be resident */
+      /* Force all C modules to be resident in case they
+       * use libraries that do not deal well with reloading
+       */
       module = peas_object_module_new (module_name,
                                        peas_plugin_info_get_module_dir (info),
                                        TRUE);



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