From a902cc15ed320d304de306a0f63db127d41e3e18 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 16 Oct 2012 04:51:08 -0400 Subject: Remove mail module's g_module_check_init(). Not needed anymore since all modules are resident nowadays. --- modules/mail/evolution-module-mail.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/mail/evolution-module-mail.c b/modules/mail/evolution-module-mail.c index 91a2501b99..c76e4edd09 100644 --- a/modules/mail/evolution-module-mail.c +++ b/modules/mail/evolution-module-mail.c @@ -71,15 +71,3 @@ e_module_unload (GTypeModule *type_module) { } -G_MODULE_EXPORT const gchar * -g_module_check_init (GModule *module) -{ - /* FIXME Until mail is split into a module library and a - * reusable shared library, prevent the module from - * being unloaded. Unloading the module resets all - * static variables, which screws up foo_get_type() - * functions among other things. */ - g_module_make_resident (module); - - return NULL; -} -- cgit