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



commit 2abd5fd0a72954144661750bc5b982356e8f8bc7
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]