aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:15:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:15:42 +0800
commit89777f0726a0127daddd593c8a28384204cb7aaf (patch)
treeecfafdadb6e7df01e185119689dfd8bddb748dde
parent26f133162d798a342fea56a79301caf0117b7d63 (diff)
downloadgsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.gz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.bz2
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.lz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.xz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.zst
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.zip
Whitespace cleanups.
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c5
-rw-r--r--addressbook/gui/widgets/eab-contact-formatter.c6
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
-rw-r--r--calendar/gui/dialogs/event-page.c4
-rw-r--r--calendar/gui/dialogs/memo-page.c1
-rw-r--r--composer/e-composer-private.c2
-rw-r--r--composer/e-composer-spell-header.c2
-rw-r--r--libemail-engine/e-mail-session-utils.c2
-rw-r--r--mail/e-http-request.c9
-rw-r--r--mail/e-mail-account-store.c12
-rw-r--r--mail/e-mail-display.c5
-rw-r--r--mail/em-account-editor.c4
-rw-r--r--mail/em-folder-tree.c8
-rw-r--r--mail/em-format-html.c5
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c6
-rw-r--r--modules/calendar/e-cal-shell-view-private.c22
-rw-r--r--modules/calendar/e-cal-shell-view.c4
-rw-r--r--modules/mdn/evolution-mdn.c6
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c14
-rw-r--r--plugins/caldav/caldav-browse-server.c4
-rw-r--r--plugins/calendar-http/calendar-http.c2
-rw-r--r--widgets/misc/e-attachment.c4
-rw-r--r--widgets/misc/e-signature-editor.c2
-rw-r--r--widgets/misc/e-spell-entry.c30
-rw-r--r--widgets/misc/e-web-view.c7
-rw-r--r--widgets/misc/e-web-view.h1
26 files changed, 83 insertions, 88 deletions
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 9d4e4eda89..677d258439 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -403,13 +403,12 @@ contact_display_object_requested (WebKitWebView *web_view,
static void
contact_display_load_status_changed (WebKitWebView *web_view,
- GParamSpec *pspec,
- gpointer user_data)
+ GParamSpec *pspec,
+ gpointer user_data)
{
WebKitLoadStatus load_status;
WebKitDOMDocument *document;
-
load_status = webkit_web_view_get_load_status (web_view);
if (load_status != WEBKIT_LOAD_FINISHED)
return;
diff --git a/addressbook/gui/widgets/eab-contact-formatter.c b/addressbook/gui/widgets/eab-contact-formatter.c
index 16430bf87a..57ce415d35 100644
--- a/addressbook/gui/widgets/eab-contact-formatter.c
+++ b/addressbook/gui/widgets/eab-contact-formatter.c
@@ -1261,8 +1261,8 @@ eab_contact_formatter_format_contact_async (EABContactFormatter *formatter,
static void
collapse_contacts_list (WebKitDOMEventTarget *event_target,
- WebKitDOMEvent *event,
- gpointer user_data)
+ WebKitDOMEvent *event,
+ gpointer user_data)
{
WebKitDOMDocument *document;
WebKitDOMElement *list;
@@ -1300,7 +1300,7 @@ collapse_contacts_list (WebKitDOMEventTarget *event_target,
}
void
-eab_contact_formatter_bind_dom (WebKitDOMDocument* document)
+eab_contact_formatter_bind_dom (WebKitDOMDocument *document)
{
WebKitDOMNodeList *nodes;
gulong i, length;
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index b647960b2f..55a602c8dc 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -921,7 +921,7 @@ remove_event_dialog (ECalClient *client,
static void
save_and_close_editor (CompEditor *editor,
- gboolean can_close)
+ gboolean can_close)
{
CompEditorPrivate *priv = editor->priv;
EAttachmentStore *store;
@@ -1047,7 +1047,7 @@ action_save_cb (GtkAction *action,
static void
action_save_and_close_cb (GtkAction *action,
- CompEditor *editor)
+ CompEditor *editor)
{
save_and_close_editor (editor, TRUE);
}
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 32f7edd07e..813b2dcc33 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -1983,8 +1983,8 @@ minute_sel_changed (GtkSpinButton *widget,
static gboolean
minute_sel_focus_out (GtkSpinButton *widget,
- GdkEvent *event,
- EventPage *epage)
+ GdkEvent *event,
+ EventPage *epage)
{
const gchar *text;
gint hours, minutes;
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index dcc3c94e33..715681445c 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -909,7 +909,6 @@ get_widgets (MemoPage *mpage)
G_BINDING_SYNC_CREATE);
}
-
return (priv->memo_content
&& priv->categories_btn
&& priv->categories
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index d5e9756494..03cfbf16f4 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -125,7 +125,7 @@ composer_update_gallery_visibility (EMsgComposer *composer)
static void
composer_spell_languages_changed (EMsgComposer *composer,
- GList *languages)
+ GList *languages)
{
EComposerHeader *header;
EComposerHeaderTable *table = e_msg_composer_get_header_table (composer);
diff --git a/composer/e-composer-spell-header.c b/composer/e-composer-spell-header.c
index 223f863e5a..aff5dbfd2b 100644
--- a/composer/e-composer-spell-header.c
+++ b/composer/e-composer-spell-header.c
@@ -62,7 +62,7 @@ e_composer_spell_header_new_button (const gchar *label)
void
e_composer_spell_header_set_languages (EComposerSpellHeader *spell_header,
- GList *languages)
+ GList *languages)
{
ESpellEntry *spell_entry;
diff --git a/libemail-engine/e-mail-session-utils.c b/libemail-engine/e-mail-session-utils.c
index 27373f1610..81ad83ed9b 100644
--- a/libemail-engine/e-mail-session-utils.c
+++ b/libemail-engine/e-mail-session-utils.c
@@ -637,7 +637,7 @@ exit:
static guint32
get_message_size (CamelMimeMessage *message,
- GCancellable *cancellable)
+ GCancellable *cancellable)
{
guint32 res = 0;
CamelStream *null;
diff --git a/mail/e-http-request.c b/mail/e-http-request.c
index ba8b1f5a13..a8417efb95 100644
--- a/mail/e-http-request.c
+++ b/mail/e-http-request.c
@@ -32,7 +32,6 @@
#include "em-format-html.h"
-
#define d(x)
#define E_HTTP_REQUEST_GET_PRIVATE(obj) \
@@ -168,8 +167,8 @@ http_request_finished (SoupRequest *request,
static gssize
copy_stream_to_stream (CamelStream *input,
- GMemoryInputStream *output,
- GCancellable *cancellable)
+ GMemoryInputStream *output,
+ GCancellable *cancellable)
{
gchar *buff;
gssize read_len = 0;
@@ -195,7 +194,7 @@ copy_stream_to_stream (CamelStream *input,
static void
quit_main_loop (GCancellable *cancellable,
- GMainLoop *loop)
+ GMainLoop *loop)
{
if (g_main_loop_is_running (loop)) {
g_main_loop_quit (loop);
@@ -364,7 +363,7 @@ handle_http_request (GSimpleAsyncResult *res,
g_cancellable_disconnect (cancellable, id);
/* Wait until all asynchronous operations are finished working
- with the 'data' structure so that it's not free'd too early. */
+ * with the 'data' structure so that it's not free'd too early. */
e_flag_wait (data.flag);
e_flag_free (data.flag);
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index 0f505bc24b..3a4e85e166 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -623,8 +623,8 @@ mail_account_store_services_reordered (EMailAccountStore *store,
GError *error = NULL;
/* do not save order list if there are only two services - they
- should be 'local' and 'vfolder' at start, and these may not rewrite
- stored account order with other accounts
+ * should be 'local' and 'vfolder' at start, and these may not rewrite
+ * stored account order with other accounts
*/
model = GTK_TREE_MODEL (store);
if (!default_restored &&
@@ -1181,7 +1181,7 @@ e_mail_account_store_remove_service (EMailAccountStore *store,
gboolean
e_mail_account_store_has_service (EMailAccountStore *store,
- CamelService *service)
+ CamelService *service)
{
GtkTreeIter iter;
@@ -1313,8 +1313,8 @@ e_mail_account_store_queue_enabled_services (EMailAccountStore *store,
static gboolean
mail_account_store_load_sort_order_queue (EMailAccountStore *store,
- GQueue *service_queue,
- GError **error)
+ GQueue *service_queue,
+ GError **error)
{
EMailSession *session;
GKeyFile *key_file;
@@ -1362,7 +1362,7 @@ mail_account_store_load_sort_order_queue (EMailAccountStore *store,
void
e_mail_account_store_reorder_services (EMailAccountStore *store,
- gboolean use_default_order)
+ gboolean use_default_order)
{
GQueue *current_order = NULL;
GQueue *default_order = NULL;
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 558755c1a4..ca807a6899 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -23,7 +23,6 @@
#include <config.h>
#endif
-
#include "e-mail-display.h"
#include <glib/gi18n.h>
@@ -1200,8 +1199,8 @@ mail_display_frame_created (WebKitWebView *web_view,
static void
mail_display_set_fonts (EWebView *web_view,
- PangoFontDescription **monospace,
- PangoFontDescription **variable)
+ PangoFontDescription **monospace,
+ PangoFontDescription **variable)
{
EMailDisplay *display = E_MAIL_DISPLAY (web_view);
gboolean use_custom_font;
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index aedabdd3f5..92c40f7bdb 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2282,8 +2282,8 @@ emae_setup_settings (EMAccountEditorService *service)
network_settings = CAMEL_NETWORK_SETTINGS (settings);
/* remember port number as set before binding properties,
- because changes in auth-mechanism combo can reset the port,
- thus effectively lost it, when set to other known value */
+ * because changes in auth-mechanism combo can reset the port,
+ * thus effectively lost it, when set to other known value */
port = camel_network_settings_get_port (network_settings);
/* Even if the service does not need to authenticate, we
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 9c23224c6f..00641d7d30 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1968,10 +1968,10 @@ fail:
static gboolean
ask_drop_folder (EMFolderTree *folder_tree,
- const gchar *src_folder_uri,
- const gchar *des_full_name,
- CamelStore *des_store,
- gboolean is_move)
+ const gchar *src_folder_uri,
+ const gchar *des_full_name,
+ CamelStore *des_store,
+ gboolean is_move)
{
const gchar *key = is_move ? "prompt-on-folder-drop-move" : "prompt-on-folder-drop-copy";
EMailSession *session;
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 5886142d6e..aea13e910b 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -614,7 +614,6 @@ efh_write_image (EMFormat *emf,
content = g_base64_encode ((guchar *) buff, len);
g_free (buff);
-
} else {
content = g_base64_encode ((guchar *) ba->data, ba->len);
}
@@ -2609,7 +2608,9 @@ efh_format_short_headers (EMFormatHTML *efh,
}
static void
-write_contact_picture (CamelMimePart *part, gint size, GString *buffer)
+write_contact_picture (CamelMimePart *part,
+ gint size,
+ GString *buffer)
{
gchar *b64, *content_type;
CamelDataWrapper *dw;
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index e5db33837c..e6ebd26bfc 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -435,21 +435,21 @@ action_calendar_rename_cb (GtkAction *action,
static void
action_calendar_search_next_cb (GtkAction *action,
- ECalShellView *cal_shell_view)
+ ECalShellView *cal_shell_view)
{
e_cal_shell_view_search_events (cal_shell_view, TRUE);
}
static void
action_calendar_search_prev_cb (GtkAction *action,
- ECalShellView *cal_shell_view)
+ ECalShellView *cal_shell_view)
{
e_cal_shell_view_search_events (cal_shell_view, FALSE);
}
static void
action_calendar_search_stop_cb (GtkAction *action,
- ECalShellView *cal_shell_view)
+ ECalShellView *cal_shell_view)
{
e_cal_shell_view_search_stop (cal_shell_view);
}
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index fc94a83a21..4526570202 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -861,7 +861,7 @@ e_cal_shell_view_transfer_item_to (ECalShellView *cal_shell_view,
gboolean success;
const gchar *uid;
EShell *shell;
- EShellContent *shell_content;
+ EShellContent *shell_content;
gboolean is_src_local_cal, is_dest_local_cal;
/* XXX This function should be split up into
@@ -881,8 +881,8 @@ e_cal_shell_view_transfer_item_to (ECalShellView *cal_shell_view,
is_dest_local_cal = g_str_has_prefix (e_client_get_uri(E_CLIENT (destination_client)), "local:");
shell = e_shell_get_default ();
- shell_content = e_shell_view_get_shell_content(E_SHELL_VIEW (cal_shell_view));
- if(!e_shell_get_online(shell) && ((!is_src_local_cal && remove) || !is_dest_local_cal))
+ shell_content = e_shell_view_get_shell_content (E_SHELL_VIEW (cal_shell_view));
+ if (!e_shell_get_online (shell) && ((!is_src_local_cal && remove) || !is_dest_local_cal))
{
e_alert_submit (
E_ALERT_SINK (shell_content),
@@ -1181,7 +1181,7 @@ cal_searching_get_search_range_years (ECalShellView *cal_shell_view)
static gint
cal_time_t_ptr_compare (gconstpointer a,
- gconstpointer b)
+ gconstpointer b)
{
const time_t *ta = a, *tb = b;
@@ -1220,9 +1220,9 @@ cal_searching_instances_done_cb (gpointer user_data)
static gboolean
cal_searching_got_instance_cb (ECalComponent *comp,
- time_t instance_start,
- time_t instance_end,
- gpointer user_data)
+ time_t instance_start,
+ time_t instance_end,
+ gpointer user_data)
{
struct GenerateInstancesData *gid = user_data;
ECalShellViewPrivate *priv;
@@ -1267,8 +1267,8 @@ cal_searching_got_instance_cb (ECalComponent *comp,
static void
cal_search_get_object_list_cb (GObject *source,
- GAsyncResult *result,
- gpointer user_data)
+ GAsyncResult *result,
+ gpointer user_data)
{
ECalClient *client = E_CAL_CLIENT (source);
ECalShellView *cal_shell_view = user_data;
@@ -1369,7 +1369,7 @@ cal_searching_check_candidates (ECalShellView *cal_shell_view)
static void
cal_searching_update_alert (ECalShellView *cal_shell_view,
- const gchar *message)
+ const gchar *message)
{
ECalShellViewPrivate *priv;
EShellContent *shell_content;
@@ -1532,7 +1532,7 @@ cal_iterate_searching (ECalShellView *cal_shell_view)
void
e_cal_shell_view_search_events (ECalShellView *cal_shell_view,
- gboolean search_forward)
+ gboolean search_forward)
{
ECalShellViewPrivate *priv = cal_shell_view->priv;
ECalShellContent *cal_shell_content;
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index a395a1d332..f6b83104fd 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -48,7 +48,7 @@ cal_shell_view_finalize (GObject *object)
static void
cal_shell_view_add_action_button (GtkBox *box,
- GtkAction *action)
+ GtkAction *action)
{
GtkWidget *button, *icon;
@@ -98,7 +98,7 @@ cal_shell_view_constructed (GObject *object)
shell_window = e_shell_view_get_shell_window (E_SHELL_VIEW (object));
shell_content = e_shell_view_get_shell_content (E_SHELL_VIEW (object));
- searchbar = e_cal_shell_content_get_searchbar (E_CAL_SHELL_CONTENT (shell_content));
+ searchbar = e_cal_shell_content_get_searchbar (E_CAL_SHELL_CONTENT (shell_content));
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
diff --git a/modules/mdn/evolution-mdn.c b/modules/mdn/evolution-mdn.c
index 30bdc314c5..7913e18b68 100644
--- a/modules/mdn/evolution-mdn.c
+++ b/modules/mdn/evolution-mdn.c
@@ -110,7 +110,7 @@ mdn_remove_alert (EMdn *mdn)
static void
mdn_submit_alert (EMdn *mdn,
- EMailReader *reader,
+ EMailReader *reader,
EAlert *alert)
{
EPreviewPane *preview_pane;
@@ -433,7 +433,7 @@ mdn_notify_action_cb (GtkAction *action,
static void
mdn_mail_reader_changed_cb (EMailReader *reader,
- EMdn *mdn)
+ EMdn *mdn)
{
MessageList *message_list;
@@ -449,7 +449,7 @@ static void
mdn_message_loaded_cb (EMailReader *reader,
const gchar *message_uid,
CamelMimeMessage *message,
- EMdn *mdn)
+ EMdn *mdn)
{
EAlert *alert;
EAccount *account;
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c
index 6930812f41..762594517b 100644
--- a/plugins/attachment-reminder/attachment-reminder.c
+++ b/plugins/attachment-reminder/attachment-reminder.c
@@ -144,9 +144,9 @@ ask_for_missing_attachment (EPlugin *ep,
static gboolean
get_next_word (GByteArray *msg_text,
- guint *from,
- const gchar **word,
- guint *wlen)
+ guint *from,
+ const gchar **word,
+ guint *wlen)
{
gboolean new_line;
@@ -200,12 +200,12 @@ get_next_word (GByteArray *msg_text,
}
/* 's1' has s1len bytes of text, while 's2' is NULL-terminated
- and *s2len contains how many bytes were read */
+ * and *s2len contains how many bytes were read */
static gboolean
utf8_casencmp (const gchar *s1,
- guint s1len,
- const gchar *s2,
- guint *s2len)
+ guint s1len,
+ const gchar *s2,
+ guint *s2len)
{
gunichar u1, u2;
guint u1len, u2len;
diff --git a/plugins/caldav/caldav-browse-server.c b/plugins/caldav/caldav-browse-server.c
index 8ff459cf1c..2597e3cc49 100644
--- a/plugins/caldav/caldav-browse-server.c
+++ b/plugins/caldav/caldav-browse-server.c
@@ -1280,7 +1280,7 @@ init_dialog (GtkDialog *dialog,
const gchar *usermail,
gboolean autoschedule,
gint source_type,
- gboolean ignore_invalid_cert)
+ gboolean ignore_invalid_cert)
{
GtkBox *content_area;
GtkWidget *label, *info_box, *spinner, *info_label, *hbox;
@@ -1585,7 +1585,7 @@ caldav_browse_server (GtkWindow *parent,
const gchar *server_url,
const gchar *username,
gboolean use_ssl,
- gboolean ignore_invalid_cert,
+ gboolean ignore_invalid_cert,
gchar **new_usermail,
gboolean *new_autoschedule,
gint source_type)
diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c
index b0b2560cac..a4524401be 100644
--- a/plugins/calendar-http/calendar-http.c
+++ b/plugins/calendar-http/calendar-http.c
@@ -168,7 +168,7 @@ e_calendar_http_secure (EPlugin *epl,
if (GTK_IS_TABLE (data->parent)) {
gint row;
-
+
g_object_get (data->parent, "n-rows", &row, NULL);
gtk_table_attach (GTK_TABLE (data->parent), grid, 1, 2, row , row + 1, GTK_FILL, 0, 0, 0);
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index 087c55f9c5..08b747f926 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -1755,8 +1755,8 @@ attachment_load_query_info_cb (GFile *file,
static void
attachment_load_from_mime_part_thread (GSimpleAsyncResult *simple,
- GObject *object,
- GCancellable *cancellable)
+ GObject *object,
+ GCancellable *cancellable)
{
LoadContext *load_context;
GFileInfo *file_info;
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index 93b2e1d0b9..ce181138ec 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -612,7 +612,7 @@ exit:
void
e_signature_editor_set_editing_old (ESignatureEditor *editor,
- gboolean editing_old)
+ gboolean editing_old)
{
g_return_if_fail (E_IS_SIGNATURE_EDITOR (editor));
diff --git a/widgets/misc/e-spell-entry.c b/widgets/misc/e-spell-entry.c
index 1f0e3c9dc4..c0912021af 100644
--- a/widgets/misc/e-spell-entry.c
+++ b/widgets/misc/e-spell-entry.c
@@ -348,7 +348,7 @@ build_suggestion_menu (ESpellEntry *entry,
GtkWidget *label = gtk_label_new (_("(no suggestions)"));
PangoAttribute *attribute;
PangoAttrList *attribute_list;
-
+
attribute_list = pango_attr_list_new ();
attribute = pango_attr_style_new (PANGO_STYLE_ITALIC);
pango_attr_list_insert (attribute_list, attribute);
@@ -492,8 +492,8 @@ build_spelling_menu (ESpellEntry *entry,
static void
spell_entry_add_suggestions_menu (ESpellEntry *entry,
- GtkMenu *menu,
- const gchar *word)
+ GtkMenu *menu,
+ const gchar *word)
{
GtkWidget *icon, *mi;
@@ -528,8 +528,8 @@ spell_entry_popup_menu (ESpellEntry *entry)
static void
spell_entry_populate_popup (ESpellEntry *entry,
- GtkMenu *menu,
- gpointer data)
+ GtkMenu *menu,
+ gpointer data)
{
gint start, end;
gchar *word;
@@ -622,7 +622,7 @@ spell_entry_load_spell_languages (void)
static void
spell_entry_settings_changed (ESpellEntry *spell_entry,
- const gchar *key)
+ const gchar *key)
{
GList *languages;
@@ -643,7 +643,7 @@ spell_entry_settings_changed (ESpellEntry *spell_entry,
static gint
spell_entry_find_position (ESpellEntry *spell_entry,
- gint x)
+ gint x)
{
PangoLayout *layout;
PangoLayoutLine *line;
@@ -652,7 +652,7 @@ spell_entry_find_position (ESpellEntry *spell_entry,
gint trailing;
const gchar *text;
GtkEntry *entry = GTK_ENTRY (spell_entry);
-
+
layout = gtk_entry_get_layout (entry);
text = pango_layout_get_text (layout);
@@ -667,7 +667,7 @@ spell_entry_find_position (ESpellEntry *spell_entry,
static gboolean
e_spell_entry_draw (GtkWidget *widget,
- cairo_t *cr)
+ cairo_t *cr)
{
ESpellEntry *spell_entry = E_SPELL_ENTRY (widget);
GtkEntry *entry = GTK_ENTRY (widget);
@@ -693,9 +693,9 @@ e_spell_entry_button_press (GtkWidget *widget,
static void
spell_entry_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
switch (property_id) {
case PROP_CHECKING_ENABLED:
@@ -810,7 +810,7 @@ e_spell_entry_new (void)
/* 'languages' consists of 'const GtkhtmlSpellLanguage *' */
void
e_spell_entry_set_languages (ESpellEntry *spell_entry,
- GList *languages)
+ GList *languages)
{
GList *iter;
@@ -846,7 +846,7 @@ e_spell_entry_get_checking_enabled (ESpellEntry *spell_entry)
void
e_spell_entry_set_checking_enabled (ESpellEntry *spell_entry,
- gboolean enable_checking)
+ gboolean enable_checking)
{
g_return_if_fail (spell_entry != NULL);
@@ -857,5 +857,5 @@ e_spell_entry_set_checking_enabled (ESpellEntry *spell_entry,
spell_entry_recheck_all (spell_entry);
g_object_notify (G_OBJECT (spell_entry), "checking-enabled");
-
+
}
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index e9288cd9b7..f58b5d44de 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -2843,7 +2843,7 @@ e_web_view_get_default_settings (void)
}
void
-e_web_view_update_fonts(EWebView *web_view)
+e_web_view_update_fonts (EWebView *web_view)
{
GString *stylesheet;
gchar *base64;
@@ -2942,7 +2942,7 @@ e_web_view_update_fonts(EWebView *web_view)
gtk_style_context_get_style (context,
"link-color", &link,
"visited-link-color", &visited,
- NULL);
+ NULL);
if (!link) {
link = g_new0 (GdkColor, 1);
@@ -2970,7 +2970,6 @@ e_web_view_update_fonts(EWebView *web_view)
if (visited)
gdk_color_free (visited);
-
base64 = g_base64_encode ((guchar *) stylesheet->str, stylesheet->len);
g_string_free (stylesheet, TRUE);
@@ -2996,7 +2995,7 @@ e_web_view_update_fonts(EWebView *web_view)
void
e_web_view_install_request_handler (EWebView *web_view,
- GType handler_type)
+ GType handler_type)
{
SoupSession *session;
SoupSessionFeature *feature;
diff --git a/widgets/misc/e-web-view.h b/widgets/misc/e-web-view.h
index 5aab752b50..af6dbb1502 100644
--- a/widgets/misc/e-web-view.h
+++ b/widgets/misc/e-web-view.h
@@ -234,7 +234,6 @@ void e_web_view_install_request_handler
(EWebView *web_view,
GType handler_type);
-
G_END_DECLS
#endif /* E_WEB_VIEW_H */