aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorJacob Leach <jleach@src.gnome.org>2000-05-03 22:43:10 +0800
committerJacob Leach <jleach@src.gnome.org>2000-05-03 22:43:10 +0800
commit3ccfb61399e6148be5a8b3141f35af272d10622d (patch)
tree3a171695399026c3796f7a1413969f62ff72677c /mail/mail-format.c
parent8813178854a02d8374701b9c32231356ae17b98e (diff)
downloadgsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.gz
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.zst
gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.zip
s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael's
request. svn path=/trunk/; revision=2776
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 6997f96158..32b34b0c4d 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -448,7 +448,7 @@ handle_text_plain (CamelMimePart *part, CamelMimeMessage *root, GtkBox *box)
/* Check for RFC 2646 flowed text. */
type = camel_mime_part_get_content_type (part);
format = gmime_content_field_get_parameter (type, "format");
- if (format && !strcasecmp (format, "flowed")) {
+ if (format && !g_strcasecmp (format, "flowed")) {
handle_text_plain_flowed (part, root, box);
return;
}
@@ -1107,25 +1107,25 @@ reply_body (CamelDataWrapper *data, gboolean *html)
* images. But if we don't do it this way, we don't get
* the headers...
*/
- if (strcasecmp (mime_type->type, "message") == 0) {
+ if (g_strcasecmp (mime_type->type, "message") == 0) {
*html = FALSE;
return get_data_wrapper_text (data);
}
- if (strcasecmp (mime_type->type, "text") == 0) {
- *html = !strcasecmp (mime_type->subtype, "html");
+ if (g_strcasecmp (mime_type->type, "text") == 0) {
+ *html = !g_strcasecmp (mime_type->subtype, "html");
return get_data_wrapper_text (data);
}
/* If it's not message and it's not text, and it's not
* multipart, we don't want to deal with it.
*/
- if (strcasecmp (mime_type->type, "multipart") != 0)
+ if (g_strcasecmp (mime_type->type, "multipart") != 0)
return NULL;
mp = CAMEL_MULTIPART (data);
- if (strcasecmp (mime_type->subtype, "alternative") == 0) {
+ if (g_strcasecmp (mime_type->subtype, "alternative") == 0) {
/* Pick our favorite alternative and reply to it. */
subpart = find_preferred_alternative (mp);
@@ -1148,7 +1148,7 @@ reply_body (CamelDataWrapper *data, gboolean *html)
subpart = camel_multipart_get_part (mp, i);
disp = camel_mime_part_get_disposition (subpart);
- if (disp && strcasecmp (disp, "inline") != 0)
+ if (disp && g_strcasecmp (disp, "inline") != 0)
continue;
data = camel_medium_get_content_object (