diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
commit | a891b81cfb3430a764dab0d5644114c4dab22297 (patch) | |
tree | de13086dc548fc1fc7dd626e115563baf97eb747 /modules | |
parent | b5bd3ae53c7f34112557668979cb2c7052d2790b (diff) | |
download | gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.gz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.bz2 gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.lz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.xz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.zst gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.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]); |