diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 11:47:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 11:47:19 +0800 |
commit | 657a8228ccedbded35c57c08f7d1549e30dceaf0 (patch) | |
tree | b1645477fe50f5ac462b572c1e6c775d6d71dea9 /mail | |
parent | a93d90ffba2e9f52b19fb22f93255f835909953e (diff) | |
download | gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar.gz gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar.bz2 gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar.lz gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar.xz gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.tar.zst gsoc2013-evolution-657a8228ccedbded35c57c08f7d1549e30dceaf0.zip |
Fix a compiler warning.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution-module-mail.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/mail/evolution-module-mail.c b/mail/evolution-module-mail.c index 83db1d9087..a629681b4c 100644 --- a/mail/evolution-module-mail.c +++ b/mail/evolution-module-mail.c @@ -27,19 +27,7 @@ /* Module Entry Points */ void e_module_load (GTypeModule *type_module); void 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; -} +const gchar * g_module_check_init (GModule *module); G_MODULE_EXPORT void e_module_load (GTypeModule *type_module) @@ -56,3 +44,16 @@ G_MODULE_EXPORT void 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; +} |