aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 69f1c93773..2c0a4e638d 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -143,6 +143,17 @@ camel_mime_message_get_type (void)
+CamelMimeMessage *
+camel_mime_message_new_with_session (CamelSession *session)
+{
+ CamelMimeMessage *mime_message;
+ mime_message = gtk_type_new (CAMEL_MIME_MESSAGE_TYPE);
+ mime_message->session = session;
+ return mime_message;
+}
+
+
+
/* two utils func */