[libpeas] Remove plugins that fail to load in the C plugin loader



commit 934e64e907f585c01ff023fdffe9b4a7ada4e28a
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Mar 6 06:28:45 2011 -0800

    Remove plugins that fail to load in the C plugin loader

 loaders/c/peas-plugin-loader-c.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/loaders/c/peas-plugin-loader-c.c b/loaders/c/peas-plugin-loader-c.c
index e7f664f..158cdb3 100644
--- a/loaders/c/peas-plugin-loader-c.c
+++ b/loaders/c/peas-plugin-loader-c.c
@@ -76,6 +76,7 @@ peas_plugin_loader_c_load (PeasPluginLoader *loader,
                  peas_plugin_info_get_name (info));
 
       g_object_unref (module);
+      g_hash_table_remove (cloader->priv->loaded_plugins, module_name);
       return FALSE;
     }
 



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