aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-08-26 05:03:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-26 05:03:47 +0800
commit5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62 (patch)
tree860b52fcb5fc0496e308d8c8561fdf936a53473c /composer/e-msg-composer-attachment-bar.c
parente74d9ca1cc1bd40982341aa85600fbc0b4f31824 (diff)
downloadgsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar.gz
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar.bz2
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar.lz
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar.xz
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.tar.zst
gsoc2013-evolution-5ba76c10796e49a6b12bdc7ee7f0a5da4a173e62.zip
updated for namespace changed made to camel-mime-utils.[c,h]
2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer-attachment.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22356
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r--composer/e-msg-composer-attachment-bar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 7e7d9227c3..479fd99871 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -231,7 +231,7 @@ update (EMsgComposerAttachmentBar *bar)
content_type = camel_mime_part_get_content_type (attachment->body);
/* Get the image out of the attachment
and create a thumbnail for it */
- image = header_content_type_is (content_type, "image", "*");
+ image = camel_content_type_is (content_type, "image", "*");
if (image && attachment->pixbuf_cache == NULL) {
CamelDataWrapper *wrapper;
@@ -304,7 +304,7 @@ update (EMsgComposerAttachmentBar *bar)
} else {
char *mime_type;
- mime_type = header_content_type_simple (content_type);
+ mime_type = camel_content_type_simple (content_type);
pixbuf = e_icon_for_mime_type (mime_type, 48);
g_free (mime_type);
gnome_icon_list_append_pixbuf (icon_list, pixbuf, NULL, label);
@@ -725,7 +725,7 @@ attach_to_multipart (CamelMultipart *multipart,
content = camel_medium_get_content_object (CAMEL_MEDIUM (attachment->body));
if (!CAMEL_IS_MULTIPART (content)) {
- if (header_content_type_is (content_type, "text", "*")) {
+ if (camel_content_type_is (content_type, "text", "*")) {
CamelMimePartEncodingType encoding;
CamelStreamFilter *filter_stream;
CamelMimeFilterBestenc *bestenc;
@@ -733,7 +733,7 @@ attach_to_multipart (CamelMultipart *multipart,
const char *charset;
char *type;
- charset = header_content_type_param (content_type, "charset");
+ charset = camel_content_type_param (content_type, "charset");
stream = camel_stream_null_new ();
filter_stream = camel_stream_filter_new_with_stream (stream);
@@ -762,8 +762,8 @@ attach_to_multipart (CamelMultipart *multipart,
if (!charset) {
/* looks kinda nasty, but this is how ya have to do it */
- header_content_type_set_param (content_type, "charset", default_charset);
- type = header_content_type_format (content_type);
+ camel_content_type_set_param (content_type, "charset", default_charset);
+ type = camel_content_type_format (content_type);
camel_mime_part_set_content_type (attachment->body, type);
g_free (type);
}