diff options
Diffstat (limited to 'mail/em-format-hook.c')
-rw-r--r-- | mail/em-format-hook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-hook.c b/mail/em-format-hook.c index 019c409b97..8b2f49f91e 100644 --- a/mail/em-format-hook.c +++ b/mail/em-format-hook.c @@ -253,7 +253,7 @@ GType em_format_hook_get_type(void) { static GType type = 0; - + if (!type) { static const GTypeInfo info = { sizeof(EMFormatHookClass), NULL, NULL, (GClassInitFunc) emfh_class_init, NULL, NULL, @@ -263,7 +263,7 @@ em_format_hook_get_type(void) emfh_parent_class = g_type_class_ref(e_plugin_hook_get_type()); type = g_type_register_static(e_plugin_hook_get_type(), "EMFormatHook", &info, 0); } - + return type; } |