aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
committerDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
commit2a6a191e0501a677fbac59304b6bc375e221e3ec (patch)
treee352a5b911913e3254bc3c47c8315dace9bc2061 /camel/camel-mime-part-utils.c
parent2409d71026645028f49bfd0f745e93346cc17450 (diff)
downloadgsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.gz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.bz2
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.lz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.xz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.zst
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.zip
Remove. We weren't using the fields that made this different from
* camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r--camel/camel-mime-part-utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index a88892873d..22df4fd610 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -29,7 +29,6 @@
#include "camel-mime-part-utils.h"
#include "camel-mime-message.h"
#include "camel-multipart.h"
-#include "camel-mime-body-part.h"
#include "camel-seekable-substream.h"
#include "camel-stream-filter.h"
#include "camel-stream-mem.h"
@@ -187,9 +186,9 @@ camel_mime_part_construct_content_from_parser(CamelMimePart *dw, CamelMimeParser
while (camel_mime_parser_step(mp, &buf, &len) != HSCAN_MULTIPART_END) {
camel_mime_parser_unstep(mp);
- bodypart = (CamelDataWrapper *)camel_mime_body_part_new();
+ bodypart = (CamelDataWrapper *)camel_mime_part_new();
camel_mime_part_construct_from_parser((CamelMimePart *)bodypart, mp);
- camel_multipart_add_part((CamelMultipart *)content, (CamelMimeBodyPart *)bodypart);
+ camel_multipart_add_part((CamelMultipart *)content, (CamelMimePart *)bodypart);
}
d(printf("Created multi-part\n"));