aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-composer-utils.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3d51651e46..7507e0af56 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-21 Bharath Acharya <abharath@novell.com>
+
+ Fixed some compiler warnings for Templates specific hunk.
+
+ * em-composer-utils.c: (edit_message):
+
2008-07-20 Bharath Acharya <abharath@novell.com>
** Fix for bug #200147
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index fa517f8dd5..8ae537ad7c 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -823,8 +823,7 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
CamelMimePart *part;
int count1 = 0, string_changed = 0;
- char *str, *convert_str = NULL;
- gsize bytes_read, bytes_written;
+ char *str;
gint count = 2;
content = camel_medium_get_content_object ((CamelMedium *) message);
@@ -865,7 +864,7 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
gconf = gconf_client_get_default ();
- while (*end && !isspace (*end) && (*end != '"'))
+ while (*end && !g_unichar_isspace (*end) && (*end != '"'))
end++;
out = g_strndup ((const gchar *) cur, end - cur);