Commit cc8bf823 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Coding style and whitespace cleanup.

parent 728c641c
......@@ -34,7 +34,6 @@
static void fill_in_info (EContactEditorFullname *editor);
static void extract_info (EContactEditorFullname *editor);
/* The arguments we take */
enum {
PROP_0,
PROP_NAME,
......
......@@ -99,7 +99,6 @@ static void sensitize_ok (EContactEditor *ce);
static EABEditorClass *parent_class = NULL;
/* The arguments we take */
enum {
PROP_0,
PROP_SOURCE_CLIENT,
......
......@@ -46,7 +46,6 @@ static void e_minicard_label_resize_children ( EMinicardLabel *e_minicard_label
static void set_colors (EMinicardLabel *label);
/* The arguments we take */
enum {
PROP_0,
PROP_WIDTH,
......
......@@ -55,7 +55,6 @@ static gboolean e_minicard_view_widget_real_focus_in_event
(GtkWidget *widget,
GdkEventFocus *event);
/* The arguments we take */
enum {
PROP_0,
PROP_CLIENT,
......
......@@ -45,7 +45,6 @@ static void e_minicard_view_drag_data_get (GtkWidget *widget,
guint time,
EMinicardView *view);
/* The arguments we take */
enum {
PROP_0,
PROP_ADAPTER,
......
......@@ -65,7 +65,6 @@ e_minicard_field_destroy (EMinicardField *field)
g_free (field);
}
/* The arguments we take */
enum {
PROP_0,
PROP_WIDTH,
......
......@@ -419,7 +419,7 @@ contact_display_load_status_changed (WebKitWebView *web_view,
static void
contact_display_update_actions (EWebView *web_view,
GdkEventButton *event)
GdkEventButton *event)
{
GtkActionGroup *action_group;
gboolean scheme_is_internal_mailto;
......
......@@ -1112,13 +1112,13 @@ eab_contact_formatter_finalize (GObject *object)
}
static void
eab_contact_formatter_class_init (EABContactFormatterClass *klass)
eab_contact_formatter_class_init (EABContactFormatterClass *class)
{
GObjectClass *object_class;
g_type_class_add_private (klass, sizeof (EABContactFormatterClass));
g_type_class_add_private (class, sizeof (EABContactFormatterClass));
object_class = G_OBJECT_CLASS (klass);
object_class = G_OBJECT_CLASS (class);
object_class->finalize = eab_contact_formatter_finalize;
object_class->set_property = eab_contact_formatter_set_property;
object_class->get_property = eab_contact_formatter_get_property;
......
......@@ -90,7 +90,6 @@ static gboolean e_meeting_time_selector_item_calculate_busy_range (EMeetingTimeS
gint *start_x,
gint *end_x);
/* The arguments we take */
enum {
PROP_0,
PROP_MEETING_TIME_SELECTOR
......
......@@ -65,7 +65,7 @@ string_is_empty (const gchar *value)
gint
get_position_in_array (GPtrArray *objects,
gpointer item)
gpointer item)
{
gint i;
......
......@@ -38,7 +38,6 @@ static void e_text_event_processor_get_property (GObject *object,
GValue *value,
GParamSpec *pspec);
/* The arguments we take */
enum {
PROP_0,
PROP_ALLOW_NEWLINES
......
......@@ -69,13 +69,13 @@ mail_extension_registry_finalize (GObject *object)
}
void
e_mail_extension_registry_class_init (EMailExtensionRegistryClass *klass)
e_mail_extension_registry_class_init (EMailExtensionRegistryClass *class)
{
GObjectClass *object_class;
g_type_class_add_private (klass, sizeof (EMailExtensionRegistryPrivate));
g_type_class_add_private (class, sizeof (EMailExtensionRegistryPrivate));
object_class = G_OBJECT_CLASS (klass);
object_class = G_OBJECT_CLASS (class);
object_class->finalize = mail_extension_registry_finalize;
}
......@@ -250,7 +250,7 @@ e_mail_parser_extension_registry_init (EMailParserExtensionRegistry *parser_ereg
}
static void
e_mail_parser_extension_registry_class_init (EMailParserExtensionRegistryClass *klass)
e_mail_parser_extension_registry_class_init (EMailParserExtensionRegistryClass *class)
{
}
......@@ -279,7 +279,7 @@ e_mail_formatter_extension_registry_init (EMailFormatterExtensionRegistry *forma
}
static void
e_mail_formatter_extension_registry_class_init (EMailFormatterExtensionRegistryClass *klass)
e_mail_formatter_extension_registry_class_init (EMailFormatterExtensionRegistryClass *class)
{
}
......
......@@ -127,7 +127,7 @@ emfe_attachment_bar_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_attachment_bar_class_init (EMailFormatterAttachmentBarClass *klass)
e_mail_formatter_attachment_bar_class_init (EMailFormatterAttachmentBarClass *class)
{
}
......
......@@ -376,7 +376,7 @@ emfe_attachment_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_attachment_class_init (EMailFormatterAttachmentClass *klass)
e_mail_formatter_attachment_class_init (EMailFormatterAttachmentClass *class)
{
}
......
......@@ -134,7 +134,7 @@ emfe_error_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_error_class_init (EMailFormatterErrorClass *klass)
e_mail_formatter_error_class_init (EMailFormatterErrorClass *class)
{
}
......
......@@ -585,7 +585,7 @@ emfe_headers_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_headers_class_init (EMailFormatterHeadersClass *klass)
e_mail_formatter_headers_class_init (EMailFormatterHeadersClass *class)
{
}
......
......@@ -165,7 +165,7 @@ emfe_image_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_image_class_init (EMailFormatterImageClass *klass)
e_mail_formatter_image_class_init (EMailFormatterImageClass *class)
{
}
......
......@@ -250,7 +250,7 @@ emfe_message_rfc822_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_message_rfc822_class_init (EMailFormatterMessageRFC822Class *klass)
e_mail_formatter_message_rfc822_class_init (EMailFormatterMessageRFC822Class *class)
{
}
......
......@@ -232,7 +232,7 @@ emfpe_headers_mime_types (EMailExtension *extension)
}
static void
e_mail_formatter_print_headers_class_init (EMailFormatterPrintHeadersClass *klass)
e_mail_formatter_print_headers_class_init (EMailFormatterPrintHeadersClass *class)
{
}
......
......@@ -204,29 +204,29 @@ e_mail_formatter_print_finalize (GObject *object)
}
static void
e_mail_formatter_print_class_init (EMailFormatterPrintClass *klass)
e_mail_formatter_print_class_init (EMailFormatterPrintClass *class)
{
GObjectClass *object_class;
EMailFormatterClass *formatter_class;
e_mail_formatter_print_parent_class = g_type_class_peek_parent (klass);
e_mail_formatter_print_parent_class = g_type_class_peek_parent (class);
formatter_class = E_MAIL_FORMATTER_CLASS (klass);
formatter_class = E_MAIL_FORMATTER_CLASS (class);
formatter_class->run = mail_formatter_print_run;
formatter_class->set_style = mail_formatter_set_style;
object_class = G_OBJECT_CLASS (klass);
object_class = G_OBJECT_CLASS (class);
object_class->finalize = e_mail_formatter_print_finalize;
}
static void
e_mail_formatter_print_base_init (EMailFormatterPrintClass *klass)
e_mail_formatter_print_base_init (EMailFormatterPrintClass *class)
{
e_mail_formatter_print_internal_extensions_load (
E_MAIL_EXTENSION_REGISTRY (
E_MAIL_FORMATTER_CLASS (klass)->extension_registry));
E_MAIL_FORMATTER_CLASS (class)->extension_registry));
E_MAIL_FORMATTER_CLASS (klass)->text_html_flags =
E_MAIL_FORMATTER_CLASS (class)->text_html_flags =
CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment