aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-09-19 01:05:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-19 01:05:23 +0800
commit2a88606f5d7bf0ce98b930d489e54157663751f3 (patch)
tree25fd8b1781bac3f4871efcf9c078bd78ab2cae8e /mail/em-format-html-display.c
parent6205217822761f5e424a9207b261786f9cb8772d (diff)
downloadgsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.gz
gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.zst
gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.zip
updated for camel namespace changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: updated for camel namespace changes * em-folder-view.c: updated for camel namespace changes * em-format-html-display.c: updated for camel namespace changes * em-format-html-quote.c: updated for camel namespace changes * em-format.c: updated for camel namespace changes * em-popup.c: updated for camel namespace changes * em-utils.c: updated for camel namespace changes * mail-autofilter.c: updated for camel namespace changes * mail-ops.c: updated for camel namespace changes * mail-session.c: updated for camel namespace changes * message-list.c: updated for camel namespace changes * message-tag-followup.c: updated for camel namespace changes * importers/evolution-mbox-importer.c: updated for camel namespace changes 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c (emp_standard_menu_factory): Don't forget to initialise/increment 'i' when using it as an object id in the for-loop. * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). svn path=/trunk/; revision=22610
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 2b59f09e85..d7497cfac5 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -795,7 +795,7 @@ efhd_drag_data_get(GtkWidget *w, GdkDragContext *drag, GtkSelectionData *data, g
stream = camel_stream_mem_new();
/* TODO: shoudl format_format_text run on the content-object? */
/* TODO: should we just do format_content? */
- if (header_content_type_is(((CamelDataWrapper *)part)->mime_type, "text", "*"))
+ if (camel_content_type_is (((CamelDataWrapper *)part)->mime_type, "text", "*"))
/* FIXME: this should be an em_utils method, it only needs a default charset param */
em_format_format_text((EMFormat *)pobject->format, stream, (CamelDataWrapper *)part);
else {
@@ -903,12 +903,12 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje
gtk_box_pack_start((GtkBox *)mainbox, button, TRUE, TRUE, 0);
/* FIXME: loses any snoop info */
- simple_type = header_content_type_simple(((CamelDataWrapper *)pobject->part)->mime_type);
+ simple_type = camel_content_type_simple (((CamelDataWrapper *)pobject->part)->mime_type);
camel_strdown(simple_type);
/* cache? */
/* FIXME: offline parts, just get icon */
- if (header_content_type_is(((CamelDataWrapper *)pobject->part)->mime_type, "image", "*")) {
+ if (camel_content_type_is (((CamelDataWrapper *)pobject->part)->mime_type, "image", "*")) {
EMFormatHTMLJob *job;
job = em_format_html_job_new(efh, efhd_write_icon_job, pobject);