aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-16 16:51:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-16 16:51:08 +0800
commita902cc15ed320d304de306a0f63db127d41e3e18 (patch)
tree4e728ba6e1eebb387348773d7ed80323ba2a8cea /modules
parentf9fbeb7c8287099d9ada0d608ab7190335a62458 (diff)
downloadgsoc2013-evolution-a902cc15ed320d304de306a0f63db127d41e3e18.tar.gz
gsoc2013-evolution-a902cc15ed320d304de306a0f63db127d41e3e18.tar.zst
gsoc2013-evolution-a902cc15ed320d304de306a0f63db127d41e3e18.zip
Remove mail module's g_module_check_init().
Not needed anymore since all modules are resident nowadays.
Diffstat (limited to 'modules')
-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;
-}