[evince/wip/bug654832: 9/16] libdocument: Keep the GType when closing the module



commit 8a2a7683902cecfa8384963c243f1f0e429cc082
Author: Christian Persch <chpe gnome org>
Date:   Wed May 5 18:50:08 2010 +0200

    libdocument: Keep the GType when closing the module

 libdocument/ev-module.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c
index 8721c47..5da1366 100644
--- a/libdocument/ev-module.c
+++ b/libdocument/ev-module.c
@@ -120,9 +120,7 @@ ev_module_unload (GTypeModule *gmodule)
         EvModule *module = EV_MODULE (gmodule);
 
         g_module_close (module->library);
-
         module->library = NULL;
-        module->type = 0;
 }
 
 const gchar *



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