summaryrefslogtreecommitdiff
path: root/camel/providers/imap/camel-imap-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.c')
-rw-r--r--camel/providers/imap/camel-imap-utils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c
index 26a085739..00115203f 100644
--- a/camel/providers/imap/camel-imap-utils.c
+++ b/camel/providers/imap/camel-imap-utils.c
@@ -751,7 +751,7 @@ parse_params (const char **parms_p, CamelContentType *type)
value = imap_parse_nstring (&parms, &len);
if (name && value)
- header_content_type_set_param (type, name, value);
+ camel_content_type_set_param (type, name, value);
g_free (name);
g_free (value);
@@ -814,11 +814,11 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol
inptr += 3;
}
- ctype = header_content_type_new ("multipart", subtype ? subtype : "mixed");
+ ctype = camel_content_type_new ("multipart", subtype ? subtype : "mixed");
g_free (subtype);
if (*inptr++ != ')') {
- header_content_type_unref (ctype);
+ camel_content_type_unref (ctype);
return NULL;
}
@@ -855,7 +855,7 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol
camel_strdown (type);
camel_strdown (subtype);
- ctype = header_content_type_new (type, subtype);
+ ctype = camel_content_type_new (type, subtype);
g_free (subtype);
g_free (type);
@@ -906,7 +906,7 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol
size = strtoul ((const char *) inptr, &p, 10);
inptr = (const unsigned char *) p;
- if (header_content_type_is (ctype, "message", "rfc822")) {
+ if (camel_content_type_is (ctype, "message", "rfc822")) {
/* body_type_msg */
if (*inptr++ != ' ')
goto exception;
@@ -928,7 +928,7 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol
/* lines */
strtoul ((const char *) inptr, &p, 10);
inptr = (const unsigned char *) p;
- } else if (header_content_type_is (ctype, "text", "*")) {
+ } else if (camel_content_type_is (ctype, "text", "*")) {
if (*inptr++ != ' ')
goto exception;
@@ -956,7 +956,7 @@ imap_body_decode (const char **in, CamelMessageContentInfo *ci, CamelFolder *fol
exception:
- header_content_type_unref (ctype);
+ camel_content_type_unref (ctype);
g_free (id);
g_free (description);
g_free (encoding);