aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-17 15:33:24 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-17 15:33:24 +0800
commit7ca7b54a79f4abb9aa3e173e4ef245049d7c72bc (patch)
tree83e9126ab5785fc317e5268ee901ee328ba0a477 /composer/e-msg-composer-attachment.c
parent00ac061ebfb4f020d2f455fb79b30678ea16ff5c (diff)
downloadgsoc2013-evolution-7ca7b54a79f4abb9aa3e173e4ef245049d7c72bc.tar.gz
gsoc2013-evolution-7ca7b54a79f4abb9aa3e173e4ef245049d7c72bc.tar.zst
gsoc2013-evolution-7ca7b54a79f4abb9aa3e173e4ef245049d7c72bc.zip
clean up the code slightly.
2004-06-16 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the code slightly. * evolution-composer.c (impl_Composer_set_headers): Fix all the strn?casecmp calls. * e-msg-composer.c (from_changed_cb, drag_data_received) (is_special_header, e_msg_composer_new_with_message) (handle_mailto, e_msg_composer_new_from_url): as above. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): as above. * e-msg-composer.c (drag_data_received): handle comments in uri lists. svn path=/trunk/; revision=26378
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r--composer/e-msg-composer-attachment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index 3cffd8ec41..24d6a041df 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -189,7 +189,7 @@ e_msg_composer_attachment_new (const char *file_name,
mime_type = e_msg_composer_guess_mime_type (file_name);
if (mime_type) {
- if (!strcasecmp (mime_type, "message/rfc822")) {
+ if (!g_ascii_strcasecmp (mime_type, "message/rfc822")) {
wrapper = (CamelDataWrapper *) camel_mime_message_new ();
} else {
wrapper = camel_data_wrapper_new ();