aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-27 04:40:58 +0800
committerDan Winship <danw@src.gnome.org>2000-04-27 04:40:58 +0800
commite751baaa7bfe2d7261e4501a8b79816dbaa3b488 (patch)
treeb65882b2f4bdd22cde368be0beedcc3e87a74f30 /camel/camel-mime-part.h
parentdcccb0484d52262980a48b05178f720f9acfa459 (diff)
downloadgsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.gz
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.bz2
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.lz
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.xz
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.zst
gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.zip
sink the content object after referencing it.
* camel-medium.c (set_content_object): sink the content object after referencing it. * camel-mime-part.c: fix various little things in the handling of CamelMedium methods. Change camel_mime_part_set_text to the more generic camel_mime_part_set_content. svn path=/trunk/; revision=2643
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index fa7f9f892e..8b73744abe 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -120,8 +120,10 @@ CamelMimePartEncodingType camel_mime_part_encoding_from_string (const gchar *str
int camel_mime_part_construct_from_parser (CamelMimePart *, CamelMimeParser *);
/* utility functions */
-void camel_mime_part_set_text (CamelMimePart *camel_mime_part,
- const gchar *text);
+void camel_mime_part_set_content (CamelMimePart *camel_mime_part,
+ const gchar *content,
+ guint length,
+ const gchar *type);
#ifdef __cplusplus