[evolution/gnome-3-8] Coding style and whitespace cleanup.



commit 50bc7daf00d7e886e0566f794d1aaabf0c3d9f91
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed May 8 08:05:00 2013 -0400

    Coding style and whitespace cleanup.

 calendar/gui/e-meeting-store.c                 |    4 ++--
 e-util/e-attachment-store.c                    |    2 +-
 em-format/e-mail-formatter.c                   |    4 ++--
 libemail-engine/e-mail-utils.c                 |   20 ++++++++++----------
 mail/e-mail-reader.c                           |    4 ++--
 mail/em-composer-utils.c                       |    6 +++---
 mail/message-list.c                            |    6 +++---
 modules/backup-restore/evolution-backup-tool.c |    2 +-
 modules/calendar/e-cal-shell-backend.c         |    4 ++--
 plugins/publish-calendar/publish-format-fb.c   |    4 ++--
 plugins/templates/templates.c                  |    2 +-
 11 files changed, 29 insertions(+), 29 deletions(-)
---
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 6abb137..695188f 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1568,8 +1568,8 @@ freebusy_async (gpointer data)
                        fbd->client, fbd->startt,
                        fbd->endt, fbd->users, NULL, NULL);
                /* This is to workaround broken dispatch of "free-busy-data" signal,
-                  introduced in 3.8.0. This code can be removed once the below bug is
-                  properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
+                * introduced in 3.8.0. This code can be removed once the below bug is
+                * properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
                */
                g_usleep (G_USEC_PER_SEC / 10);
                g_signal_handler_disconnect (fbd->client, sigid);
diff --git a/e-util/e-attachment-store.c b/e-util/e-attachment-store.c
index a608c06..55bc795 100644
--- a/e-util/e-attachment-store.c
+++ b/e-util/e-attachment-store.c
@@ -418,7 +418,7 @@ e_attachment_store_get_total_size (EAttachmentStore *store)
 
 static void
 update_preview_cb (GtkFileChooser *file_chooser,
-                  gpointer data)
+                   gpointer data)
 {
        GtkWidget *preview;
        gchar *filename = NULL;
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index 2e89f69..c7f3f32 100644
--- a/em-format/e-mail-formatter.c
+++ b/em-format/e-mail-formatter.c
@@ -1540,8 +1540,8 @@ e_mail_formatter_add_header_struct (EMailFormatter *formatter,
 
 void
 e_mail_formatter_remove_header (EMailFormatter *formatter,
-                               const gchar *name,
-                               const gchar *value)
+                                const gchar *name,
+                                const gchar *value)
 {
        GList *iter = NULL;
 
diff --git a/libemail-engine/e-mail-utils.c b/libemail-engine/e-mail-utils.c
index 7b406ec..2644c00 100644
--- a/libemail-engine/e-mail-utils.c
+++ b/libemail-engine/e-mail-utils.c
@@ -485,11 +485,11 @@ mail_account_in_recipients (ESourceRegistry *registry,
 
 ESource *
 em_utils_guess_mail_account_with_recipients_and_sort (ESourceRegistry *registry,
-                                                     CamelMimeMessage *message,
-                                                     CamelFolder *folder,
-                                                     const gchar *message_uid,
-                                                     EMailUtilsSourtSourcesFunc sort_func,
-                                                     gpointer sort_func_data)
+                                                      CamelMimeMessage *message,
+                                                      CamelFolder *folder,
+                                                      const gchar *message_uid,
+                                                      EMailUtilsSourtSourcesFunc sort_func,
+                                                      gpointer sort_func_data)
 {
        ESource *source = NULL;
        GHashTable *recipients;
@@ -584,11 +584,11 @@ exit:
 
 ESource *
 em_utils_guess_mail_identity_with_recipients_and_sort (ESourceRegistry *registry,
-                                                      CamelMimeMessage *message,
-                                                      CamelFolder *folder,
-                                                      const gchar *message_uid,
-                                                      EMailUtilsSourtSourcesFunc sort_func,
-                                                      gpointer sort_func_data)
+                                                       CamelMimeMessage *message,
+                                                       CamelFolder *folder,
+                                                       const gchar *message_uid,
+                                                       EMailUtilsSourtSourcesFunc sort_func,
+                                                       gpointer sort_func_data)
 {
        ESource *source;
        ESourceExtension *extension;
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 63dac78..db43f23 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2612,7 +2612,7 @@ mail_reader_key_press_event_cb (EMailReader *reader,
        GtkAction *action;
        const gchar *action_name;
 
-        if (!gtk_widget_has_focus (GTK_WIDGET (reader))) {
+       if (!gtk_widget_has_focus (GTK_WIDGET (reader))) {
                WebKitWebFrame *frame;
                WebKitDOMDocument *dom;
                WebKitDOMElement *element;
@@ -2625,7 +2625,7 @@ mail_reader_key_press_event_cb (EMailReader *reader,
                if (frame) {
                        dom = webkit_web_frame_get_dom_document (frame);
                        /* intentionally used "static_cast" */
-                       element = webkit_dom_html_document_get_active_element ((WebKitDOMHTMLDocument*) dom);
+                       element = webkit_dom_html_document_get_active_element ((WebKitDOMHTMLDocument *) dom);
 
                        if (element)
                                name = webkit_dom_node_get_node_name (WEBKIT_DOM_NODE (element));
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index d52d04c..8729fa4 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1968,8 +1968,8 @@ em_utils_forward_messages (EMailReader *reader,
 
 static gint
 compare_sources_with_uids_order_cb (gconstpointer a,
-                                   gconstpointer b,
-                                   gpointer user_data)
+                                    gconstpointer b,
+                                    gpointer user_data)
 {
        ESource *asource = (ESource *) a;
        ESource *bsource = (ESource *) b;
@@ -1989,7 +1989,7 @@ compare_sources_with_uids_order_cb (gconstpointer a,
 
 static void
 sort_sources_by_ui (GList **psources,
-                   gpointer user_data)
+                    gpointer user_data)
 {
        EShell *shell = user_data;
        EShellBackend *shell_backend;
diff --git a/mail/message-list.c b/mail/message-list.c
index aa7d67e..6b45022 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3217,7 +3217,7 @@ static void
 build_tree (MessageList *ml,
             CamelFolderThread *thread,
             CamelFolderChangeInfo *changes,
-           gboolean can_scroll_to_cursor)
+            gboolean can_scroll_to_cursor)
 {
        gint row = 0;
        ETreeModel *etm = ml->model;
@@ -4259,7 +4259,7 @@ struct ml_sort_uids_data {
 
 static gint
 ml_sort_uids_cb (gconstpointer a,
-                gconstpointer b)
+                 gconstpointer b)
 {
        struct ml_sort_uids_data * const *pdataA = a;
        struct ml_sort_uids_data * const *pdataB = b;
@@ -4269,7 +4269,7 @@ ml_sort_uids_cb (gconstpointer a,
 
 void
 message_list_sort_uids (MessageList *message_list,
-                       GPtrArray *uids)
+                        GPtrArray *uids)
 {
        struct ml_sort_uids_data *data;
        GPtrArray *array;
diff --git a/modules/backup-restore/evolution-backup-tool.c b/modules/backup-restore/evolution-backup-tool.c
index 10522c5..93a56bd 100644
--- a/modules/backup-restore/evolution-backup-tool.c
+++ b/modules/backup-restore/evolution-backup-tool.c
@@ -157,7 +157,7 @@ strip_home_dir (const gchar *dir)
 
 static GString *
 replace_variables (const gchar *str,
-                  gboolean remove_dir_sep)
+                   gboolean remove_dir_sep)
 {
        GString *res = NULL, *use;
        const gchar *strip_datadir, *strip_configdir;
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index ec7af99..a631c75 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -364,8 +364,8 @@ cal_shell_backend_init_importers (void)
 
 static void
 populate_g_date (GDate *date,
-                time_t utc_time,
-                icaltimezone *zone)
+                 time_t utc_time,
+                 icaltimezone *zone)
 {
        struct icaltimetype icaltm;
 
diff --git a/plugins/publish-calendar/publish-format-fb.c b/plugins/publish-calendar/publish-format-fb.c
index c062994..2839304 100644
--- a/plugins/publish-calendar/publish-format-fb.c
+++ b/plugins/publish-calendar/publish-format-fb.c
@@ -120,8 +120,8 @@ write_calendar (const gchar *uid,
                gboolean done = FALSE;
 
                /* This is to workaround broken dispatch of "free-busy-data" signal,
-                  introduced in 3.8.0. This code can be removed once the below bug is
-                  properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
+                * introduced in 3.8.0. This code can be removed once the below bug is
+                * properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
                */
                while (!done) {
                        g_usleep (G_USEC_PER_SEC / 10);
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index 0d3fcdc..9b11ab5 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -100,7 +100,7 @@ static gboolean plugin_enabled;
 
 static void
 disconnect_signals_on_dispose (gpointer object_with_signal,
-                              GObject *signal_data)
+                               GObject *signal_data)
 {
        g_signal_handlers_disconnect_by_data (object_with_signal, signal_data);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]