[libpeas] Fix bug when lazy loading fails



commit e0b3fa98d23b9dc2559f61c09da87dbf30018f94
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Feb 13 13:56:08 2011 -0800

    Fix bug when lazy loading fails

 libpeas/peas-engine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index 475cdfa..458bad9 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -632,7 +632,7 @@ get_plugin_loader (PeasEngine     *engine,
 
   if (loader_info->module == NULL)
     {
-      g_hash_table_insert (loaders, loader_id, NULL);
+      g_hash_table_insert (loaders, info->loader, NULL);
       return NULL;
     }
 



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