aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-23 12:04:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-23 12:04:56 +0800
commit9acd121a93cf023501b48992ebe4341d4220301c (patch)
tree2506a9361c0043d7513d124abdd964467a750b98 /mail
parent53d9c34bb570d65740de43f8a711dc6cc53d5977 (diff)
downloadgsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.gz
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.bz2
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.lz
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.xz
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.zst
gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'mail')
-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);
}
}