From 9675f18d915fcbae59dd4b32b8a2ff36b3d27cc1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Oct 2010 12:08:28 -0400 Subject: Coding style and whitespace cleanup. --- mail/em-format-hook.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'mail/em-format-hook.c') 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; -- cgit v1.2.3