diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:23 +0800 |
commit | 7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f (patch) | |
tree | 7051840d082b6f478c86efe8c350c53754152eb0 /modules | |
parent | e216530dcdc494950afb6355723a6104ab1f25ea (diff) | |
download | gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.gz gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.zst gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 2 | ||||
-rw-r--r-- | modules/mail/e-mail-shell-view-actions.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index fa4c2db0de..4988ab4617 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -474,7 +474,7 @@ static time_t utc_to_user_zone (time_t utc_time, icaltimezone *zone) { - if (!zone || (int) utc_time == -1) + if (!zone || (gint) utc_time == -1) return utc_time; return icaltime_as_timet ( diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index ba21f28b8d..0c82778f5e 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -447,7 +447,7 @@ action_mail_folder_rename_cb (GtkAction *action, em_folder_tree_edit_selected (folder_tree); } -static gchar* +static gchar * get_message_checksum (CamelFolder *folder, const gchar *uid) { static const GChecksumType duplicate_csum = G_CHECKSUM_SHA256; @@ -494,7 +494,7 @@ message_is_duplicated (GHashTable *messages, guint64 id, gchar *digest) if (!hash_digest) return FALSE; - return g_str_equal (digest, hash_digest); + return g_str_equal (digest, hash_digest); } static void @@ -520,7 +520,7 @@ action_mail_folder_remove_duplicates (GtkAction *action, EMailShellView *mail_sh folder = message_list->folder; messages = g_hash_table_new_full (g_int_hash, g_int_equal, g_free, g_free); - dups = g_ptr_array_new(); + dups = g_ptr_array_new (); for (i = 0; i < uids->len; i++) { CamelMessageInfo *msg_info = camel_folder_get_message_info (folder, uids->pdata[i]); |