[evolution] Remove mail module's g_module_check_init().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove mail module's g_module_check_init().
- Date: Tue, 16 Oct 2012 09:39:09 +0000 (UTC)
commit a902cc15ed320d304de306a0f63db127d41e3e18
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Oct 16 04:51:08 2012 -0400
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 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/modules/mail/evolution-module-mail.c b/modules/mail/evolution-module-mail.c
index 91a2501..c76e4ed 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;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]