aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-29 03:28:39 +0800
committerDan Winship <danw@src.gnome.org>2000-12-29 03:28:39 +0800
commit156996ac5eaaddea369e4ae001c06c45f5ad76f4 (patch)
tree4d6f8c6714002dfe6baf2717980bf9530a3c2fb2 /camel/camel-multipart.c
parent1351da8fd7d1207e79cc811f300f3ccbc68ce3c7 (diff)
downloadgsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.gz
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.zst
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.zip
Remove this. It was only a thin wrapper around struct _header_content_type
* gmime-content-field.[ch]: Remove this. It was only a thin wrapper around struct _header_content_type anyway, and didn't match the naming scheme of anything else. * Makefile.am: Remove gmime-content-field.[ch] * camel.h: Remove gmime-content-field.h * camel-types.h: Add CamelContentType as a typedef for struct _header_content_type (especially for use outside of camel). * camel-multipart.c: * camel-mime-part.c: * camel-mime-message.c: * camel-folder-summary.c: * camel-folder-search.c: * camel-data-wrapper.[ch]: Use CamelContentType and header_content_type_* functions rather than the GMime stuff. * camel-mime-part-utils.c: * camel-medium.c: Remove unused gmime-content-field.h include. svn path=/trunk/; revision=7186
Diffstat (limited to 'camel/camel-multipart.c')
-rw-r--r--camel/camel-multipart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index c5a5f81b22..898bd7ace6 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -29,7 +29,6 @@
*/
#include <config.h>
-#include "gmime-content-field.h"
#include "camel-stream-mem.h"
#include "camel-multipart.h"
#include "camel-mime-part.h"
@@ -368,8 +367,7 @@ set_boundary (CamelMultipart *multipart, gchar *boundary)
boundary = bbuf;
}
- gmime_content_field_set_parameter (cdw->mime_type, "boundary",
- boundary);
+ header_content_type_set_param (cdw->mime_type, "boundary", boundary);
}
/**
@@ -397,7 +395,7 @@ get_boundary (CamelMultipart *multipart)
CamelDataWrapper *cdw = CAMEL_DATA_WRAPPER (multipart);
g_return_val_if_fail (cdw->mime_type != NULL, NULL);
- return gmime_content_field_get_parameter (cdw->mime_type, "boundary");
+ return header_content_type_param (cdw->mime_type, "boundary");
}
/**