aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
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: