Remove mail module's g_module_check_init().
Not needed anymore since all modules are resident nowadays.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user