[libpeas] Fix emitting PeasEngine::unload-plugin when unloading plugins in dispose



commit c579d8ce41b04df8f6c5e8f99362755bd89d926e
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Jan 23 12:39:07 2011 -0800

    Fix emitting PeasEngine::unload-plugin when unloading plugins in dispose

 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 0fb835d..9a60fbd 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -403,7 +403,7 @@ peas_engine_dispose (GObject *object)
       PeasPluginInfo *info = PEAS_PLUGIN_INFO (item->data);
 
       if (peas_plugin_info_is_loaded (info))
-        peas_engine_unload_plugin_real (engine, info);
+        peas_engine_unload_plugin (engine, info);
     }
 
   /* unref the loaders */



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