From 33bbdaa50b4911adcc937ff674466ea43ac8f45d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 23 Feb 2013 22:24:05 -0500 Subject: Coding style and whitespace cleanup. --- e-util/e-mail-signature-editor.c | 6 +++--- e-util/e-mail-signature-preview.c | 6 +++--- e-util/e-name-selector-entry.c | 15 +++++++++------ e-util/e-source-config.c | 8 ++++---- 4 files changed, 19 insertions(+), 16 deletions(-) (limited to 'e-util') diff --git a/e-util/e-mail-signature-editor.c b/e-util/e-mail-signature-editor.c index bb1fc9536f..da5e3389e0 100644 --- a/e-util/e-mail-signature-editor.c +++ b/e-util/e-mail-signature-editor.c @@ -286,9 +286,9 @@ action_save_and_close_cb (GtkAction *action, registry = e_mail_signature_editor_get_registry (editor); /* Only make sure that the 'source-changed' is called, - thus the preview of the signature is updated on save. - It is not called when only signature body is changed - (and ESource properties are left unchanged). + * thus the preview of the signature is updated on save. + * It is not called when only signature body is changed + * (and ESource properties are left unchanged). */ g_signal_emit_by_name (registry, "source-changed", source); diff --git a/e-util/e-mail-signature-preview.c b/e-util/e-mail-signature-preview.c index d4b57f40be..2ccfa55c8b 100644 --- a/e-util/e-mail-signature-preview.c +++ b/e-util/e-mail-signature-preview.c @@ -72,7 +72,7 @@ replace_local_image_links (WebKitDOMElement *element) gchar *new_src; /* this forms "evo-file://", which can be loaded, - while "file://" cannot be, due to webkit policy */ + * while "file://" cannot be, due to webkit policy */ new_src = g_strconcat ("evo-", src, NULL); webkit_dom_html_image_element_set_src (img, new_src); g_free (new_src); @@ -99,8 +99,8 @@ replace_local_image_links (WebKitDOMElement *element) static void signature_preview_document_loaded_cb (WebKitWebView *web_view, - WebKitWebFrame *web_frame, - gpointer user_data) + WebKitWebFrame *web_frame, + gpointer user_data) { WebKitDOMDocument *document; WebKitDOMNode *node; diff --git a/e-util/e-name-selector-entry.c b/e-util/e-name-selector-entry.c index 089e440731..a8a1b23cdb 100644 --- a/e-util/e-name-selector-entry.c +++ b/e-util/e-name-selector-entry.c @@ -1512,9 +1512,11 @@ user_insert_text (ENameSelectorEntry *name_selector_entry, if (chars_inserted >= 1) { /* If the user inserted one character, kick off completion */ - re_set_timeout (name_selector_entry->priv->update_completions_cb_id, + re_set_timeout ( + name_selector_entry->priv->update_completions_cb_id, update_completions_on_timeout_cb, name_selector_entry, AUTOCOMPLETE_TIMEOUT); - re_set_timeout (name_selector_entry->priv->type_ahead_complete_cb_id, + re_set_timeout ( + name_selector_entry->priv->type_ahead_complete_cb_id, type_ahead_complete_on_timeout_cb, name_selector_entry, AUTOCOMPLETE_TIMEOUT); } @@ -1558,7 +1560,8 @@ user_delete_text (ENameSelectorEntry *name_selector_entry, if (end_pos - start_pos == 1) { /* Might be backspace; update completion model so dropdown is accurate */ - re_set_timeout (name_selector_entry->priv->update_completions_cb_id, + re_set_timeout ( + name_selector_entry->priv->update_completions_cb_id, update_completions_on_timeout_cb, name_selector_entry, AUTOCOMPLETE_TIMEOUT); } @@ -2169,8 +2172,8 @@ static void ensure_type_ahead_complete_on_timeout (ENameSelectorEntry *name_selector_entry) { /* this is called whenever a new item is added to the model, - thus, to not starve when there are many matches, do not - postpone on each add, but show results as soon as possible */ + * thus, to not starve when there are many matches, do not + * postpone on each add, but show results as soon as possible */ if (!name_selector_entry->priv->type_ahead_complete_cb_id) { re_set_timeout ( name_selector_entry->priv->type_ahead_complete_cb_id, @@ -3077,7 +3080,7 @@ populate_popup (ENameSelectorEntry *name_selector_entry, static gint compare_gint_ptr_cb (gconstpointer a, - gconstpointer b) + gconstpointer b) { return GPOINTER_TO_INT (a) - GPOINTER_TO_INT (b); } diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c index 747cd3b6a7..3d9303abd9 100644 --- a/e-util/e-source-config.c +++ b/e-util/e-source-config.c @@ -1354,9 +1354,9 @@ secure_to_port_cb (GBinding *binding, static gboolean webdav_source_ssl_trust_to_sensitive_cb (GBinding *binding, - const GValue *source_value, - GValue *target_value, - gpointer user_data) + const GValue *source_value, + GValue *target_value, + gpointer user_data) { const gchar *ssl_trust = g_value_get_string (source_value); @@ -1367,7 +1367,7 @@ webdav_source_ssl_trust_to_sensitive_cb (GBinding *binding, static void webdav_unset_ssl_trust_clicked_cb (GtkWidget *button, - ESourceWebdav *extension) + ESourceWebdav *extension) { e_source_webdav_set_ssl_trust (extension, NULL); } -- cgit v1.2.3