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



commit 633387d570bc72b473fa3ffd35920f6f86e95d71
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]