aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-hook.c')
-rw-r--r--mail/em-format-hook.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/em-format-hook.c b/mail/em-format-hook.c
index 31aa123bdd..78c46d99b4 100644
--- a/mail/em-format-hook.c
+++ b/mail/em-format-hook.c
@@ -63,7 +63,10 @@ static const EPluginHookTargetKey emfh_flag_map[] = {
};
static void
-emfh_format_format(EMFormat *md, CamelStream *stream, CamelMimePart *part, const EMFormatHandler *info)
+emfh_format_format (EMFormat *md,
+ CamelStream *stream,
+ CamelMimePart *part,
+ const EMFormatHandler *info)
{
struct _EMFormatHookItem *item = (EMFormatHookItem *)info;
@@ -182,8 +185,10 @@ emfh_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
for (;l;l=g_slist_next(l)) {
EMFormatHookItem *item = l->data;
/* TODO: only add handlers if enabled? */
- /* Well, disabling is handled by the callback, if we leave as is,
- then we can enable the plugin after startup and it will start working automagically */
+ /* Well, disabling is handled by the callback,
+ * if we leave as is, then we can enable the
+ * plugin after startup and it will start
+ * working automagically */
em_format_class_add_handler(klass, &item->handler);
}
}