aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-hook.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-04 00:08:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-04 01:29:20 +0800
commit9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1 (patch)
treeaa1d53c8cedef6dc09455fbadd4b63216f9b7228 /mail/em-format-hook.c
parentc9c3c3be92f3dbf133a5b1b42fb55905a1060d0e (diff)
downloadgsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.gz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.bz2
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.lz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.xz
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.tar.zst
gsoc2013-evolution-9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/em-format-hook.c')
-rw-r--r--mail/em-format-hook.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/mail/em-format-hook.c b/mail/em-format-hook.c
index c8a8c903a1..66fa0944cd 100644
--- a/mail/em-format-hook.c
+++ b/mail/em-format-hook.c
@@ -261,18 +261,28 @@ em_format_hook_get_type (void)
if (!type) {
static const GTypeInfo info = {
- sizeof (EMFormatHookClass), NULL, NULL, (GClassInitFunc) emfh_class_init, NULL, NULL,
- sizeof (EMFormatHook), 0, (GInstanceInitFunc) NULL,
+ sizeof (EMFormatHookClass),
+ (GBaseInitFunc) NULL,
+ (GBaseFinalizeFunc) NULL,
+ (GClassInitFunc) emfh_class_init,
+ (GClassFinalizeFunc) NULL,
+ NULL, /* class_data */
+ sizeof (EMFormatHook),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) NULL,
+ NULL /* value_table */
};
- 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);
+ emfh_parent_class = g_type_class_ref (E_TYPE_PLUGIN_HOOK);
+ type = g_type_register_static (
+ E_TYPE_PLUGIN_HOOK, "EMFormatHook", &info, 0);
}
return type;
}
-void em_format_hook_register_type (GType type)
+void
+em_format_hook_register_type (GType type)
{
EMFormatClass *klass;