[evince/wip/bug654832: 17/18] [libdocument] Keep the GType when closing the module



commit 66a3c5293f14d4dd49bc990db7728e3285c6fe2a
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]