aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-07-21 18:44:59 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-07-21 18:44:59 +0800
commite80984953edf0f60ce07e5814ad51bf5f7a82e37 (patch)
tree48b8734cee80b7ad43b6958a26391b41ac540df6
parent16aa096d479388cbe3d94033bc5fe68760004226 (diff)
downloadgsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar.gz
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar.bz2
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar.lz
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar.xz
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.tar.zst
gsoc2013-evolution-e80984953edf0f60ce07e5814ad51bf5f7a82e37.zip
Fixed some compiler warnings for Templates specific hunk.
2008-07-21 Bharath Acharya <abharath@novell.com> Fixed some compiler warnings for Templates specific hunk. * em-composer-utils.c: (edit_message): svn path=/trunk/; revision=35801
-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);