Bug 790773 - Add message list columns to show Sender/Recipients email addresses only
[evolution.git] / src / modules / text-highlight / evolution-module-text-highlight.c
blob50864568ddbea7612626a90bb5c752bc230bb3f8
1 /*
2 * evolution-module-text-highlight.c
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #include "e-mail-parser-text-highlight.h"
19 #include "e-mail-formatter-text-highlight.h"
20 #include "e-mail-display-popup-text-highlight.h"
22 #include <gmodule.h>
24 void e_module_load (GTypeModule *type_module);
25 void e_module_unload (GTypeModule *type_module);
26 const gchar * g_module_check_init (GModule *module);
28 G_MODULE_EXPORT void
29 e_module_load (GTypeModule *type_module)
31 /* Register dynamically loaded types. */
32 e_mail_parser_text_highlight_type_register (type_module);
33 e_mail_formatter_text_highlight_type_register (type_module);
34 e_mail_display_popup_text_highlight_type_register (type_module);
37 G_MODULE_EXPORT void
38 e_module_unload (GTypeModule *type_module)
42 G_MODULE_EXPORT const gchar *
43 g_module_check_init (GModule *module)
45 /* FIXME Until mail is split into a module library and a
46 * reusable shared library, prevent the module from
47 * being unloaded. Unloading the module resets all
48 * static variables, which screws up foo_get_type()
49 * functions among other things. */
50 g_module_make_resident (module);
52 return NULL;