diff options
| author | Dan Winship <danw@src.gnome.org> | 2000-04-26 20:40:58 +0000 |
|---|---|---|
| committer | Dan Winship <danw@src.gnome.org> | 2000-04-26 20:40:58 +0000 |
| commit | 98045cc072889fd3e3c45d2216b50577030a98dd (patch) | |
| tree | e22d6e12829855b1bb28e1cc6648a4d018750d47 /camel/camel-mime-part.h | |
| parent | 494ed995ae383ccc9c16faa70c04a59ebba235e0 (diff) | |
| download | evolution-data-server-98045cc072889fd3e3c45d2216b50577030a98dd.tar.gz | |
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.
Diffstat (limited to 'camel/camel-mime-part.h')
| -rw-r--r-- | camel/camel-mime-part.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h index fa7f9f892..8b73744ab 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 |
