aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-11 22:38:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-11 22:39:04 +0800
commit6a79322ff6417808416b3ebb183011e49ab7d66c (patch)
treecb06aa8c2a9bef0b770011231c362bdb357acb52 /mail/em-utils.c
parent620089c784f6e3c3dc9ee605a5f8ce08de593aa2 (diff)
downloadgsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar.gz
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar.bz2
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar.lz
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar.xz
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.tar.zst
gsoc2013-evolution-6a79322ff6417808416b3ebb183011e49ab7d66c.zip
Reduce diff noise with webkit-composer branch.
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 3bb4b9f647..fc6568d1ea 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1305,7 +1305,7 @@ em_utils_message_to_html (CamelSession *session,
gtk_widget_get_style (GTK_WIDGET (window)),
gtk_widget_get_state (GTK_WIDGET (window)));
- if (!parts_list) {
+ if (parts_list == NULL) {
GSettings *settings;
gchar *charset;
@@ -1356,7 +1356,7 @@ em_utils_message_to_html (CamelSession *session,
while (!g_queue_is_empty (&queue))
e_mail_part_unref (g_queue_pop_head (&queue));
- if (validity_found)
+ if (validity_found != NULL)
*validity_found = is_validity_found;
e_mail_formatter_format_sync (
@@ -1364,14 +1364,14 @@ em_utils_message_to_html (CamelSession *session,
E_MAIL_FORMATTER_MODE_PRINTING, NULL);
g_object_unref (formatter);
- if (hidden_text_html_part)
+ if (hidden_text_html_part != NULL)
hidden_text_html_part->is_hidden = TRUE;
g_object_unref (parts_list);
- if (parser)
+ if (parser != NULL)
g_object_unref (parser);
- if (append && *append)
+ if (append != NULL && *append != '\0')
camel_stream_write_string (mem, append, NULL, NULL);
camel_stream_write (mem, "", 1, NULL, NULL);