aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.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.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.c')
-rw-r--r--camel/camel-mime-part.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 3c10b8126b..6e2276df90 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -629,6 +629,16 @@ camel_mime_part_encoding_from_string (const gchar *string)
/******************************/
/** Misc utility functions **/
+/**
+ * camel_mime_part_new:
+ *
+ * Return value: a new CamelMimePart
+ **/
+CamelMimePart *
+camel_mime_part_new (void)
+{
+ return (CamelMimePart *)gtk_object_new (CAMEL_MIME_PART_TYPE, NULL);
+}
/**
* camel_mime_part_set_content: