No issues found
Tool | Failure ID | Location | Function | Message | Data |
---|---|---|---|---|---|
clang-analyzer | no-output-found | evolution-module-text-highlight.c | Message(text='Unable to locate XML output from invoke-clang-analyzer') | None | |
clang-analyzer | no-output-found | evolution-module-text-highlight.c | Message(text='Unable to locate XML output from invoke-clang-analyzer') | None |
1 /*
2 * evolution-module-text-highlight.c
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 *
17 */
18
19 #include "e-mail-parser-text-highlight.h"
20 #include "e-mail-formatter-text-highlight.h"
21 #include "e-mail-display-popup-text-highlight.h"
22
23 #include <gmodule.h>
24
25 void e_module_load (GTypeModule *type_module);
26 void e_module_unload (GTypeModule *type_module);
27 const gchar * g_module_check_init (GModule *module);
28
29 G_MODULE_EXPORT void
30 e_module_load (GTypeModule *type_module)
31 {
32 /* Register dynamically loaded types. */
33 e_mail_parser_text_highlight_type_register (type_module);
34 e_mail_formatter_text_highlight_type_register (type_module);
35 e_mail_display_popup_text_highlight_type_register (type_module);
36 }
37
38 G_MODULE_EXPORT void
39 e_module_unload (GTypeModule *type_module)
40 {
41 }
42
43 G_MODULE_EXPORT const gchar *
44 g_module_check_init (GModule *module)
45 {
46 /* FIXME Until mail is split into a module library and a
47 * reusable shared library, prevent the module from
48 * being unloaded. Unloading the module resets all
49 * static variables, which screws up foo_get_type()
50 * functions among other things. */
51 g_module_make_resident (module);
52
53 return NULL;
54 }