aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/mail/evolution-module-mail.c12
1 files changed, 0 insertions, 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;
-}