diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-05-20 03:07:52 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-05-20 03:07:52 +0800 |
commit | f53eb88c5682c59e0e26e9a6e594566fd628e486 (patch) | |
tree | a27c02904a32cd6b4c9a6fae5eb0045edb4cab16 /camel | |
parent | 058a84bf365dc0a384d1de08d80c686838e126b7 (diff) | |
download | gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar.gz gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar.bz2 gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar.lz gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar.xz gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.tar.zst gsoc2013-evolution-f53eb88c5682c59e0e26e9a6e594566fd628e486.zip |
sync
svn path=/trunk/; revision=933
Diffstat (limited to 'camel')
-rw-r--r-- | camel/camel-mime-message.c | 11 | ||||
-rw-r--r-- | camel/camel-mime-message.h | 1 |
2 files changed, 12 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 */ diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h index bb4bb5bde9..d582841e4f 100644 --- a/camel/camel-mime-message.h +++ b/camel/camel-mime-message.h @@ -104,6 +104,7 @@ GtkType camel_mime_message_get_type (void); /* public methods */ +CamelMimeMessage *camel_mime_message_new_with_session (CamelSession *session); void set_received_date (CamelMimeMessage *mime_message, GString *received_date); GString *get_received_date (CamelMimeMessage *mime_message); |