From 55d6580d8627a9a85df1e6b19529196d4d9ac95a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 31 Mar 2010 20:02:13 -0400 Subject: Stop relying on CamelObject meta-data. --- plugins/itip-formatter/itip-formatter.c | 2 +- plugins/prefer-plain/prefer-plain.c | 4 ++-- plugins/tnef-attachments/tnef-plugin.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 526af07b1a..f5c727b8e0 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2741,7 +2741,7 @@ itip_attachment_frame(EMFormat *emf, CamelStream *stream, EMFormatPURI *puri) struct _itip_puri *info = (struct _itip_puri *)puri; d(printf("writing to frame content, handler is '%s'\n", info->handle->mime_type)); - info->handle->handler(emf, stream, info->puri.part, info->handle); + info->handle->handler(emf, stream, info->puri.part, info->handle, FALSE); camel_stream_close(stream); } diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c index bd77e83a55..edfc8ff3de 100644 --- a/plugins/prefer-plain/prefer-plain.c +++ b/plugins/prefer-plain/prefer-plain.c @@ -83,7 +83,7 @@ org_gnome_prefer_plain_text_html (gpointer ep, EMFormatHookTarget *t) if (epp_mode != EPP_TEXT || strstr (t->format->part_id->str, ".alternative-prefer-plain.") != NULL || em_format_is_inline (t->format, t->format->part_id->str, t->part, &(t->item->handler))) - t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old); + t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old, FALSE); else if (epp_show_suppressed) make_part_attachment (t->format, t->stream, t->part, -1); } @@ -161,7 +161,7 @@ org_gnome_prefer_plain_multipart_alternative(gpointer ep, EMFormatHookTarget *t) em_format_part_as (t->format, t->stream, display_part, "text/html"); g_string_truncate (t->format->part_id, partidlen); } else { - t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old); + t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old, FALSE); } return; } else if (!CAMEL_IS_MULTIPART(mp)) { diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c index 074ec635fb..cf0b11ee4a 100644 --- a/plugins/tnef-attachments/tnef-plugin.c +++ b/plugins/tnef-attachments/tnef-plugin.c @@ -173,7 +173,7 @@ org_gnome_format_tnef(gpointer ep, EMFormatHookTarget *t) if (camel_multipart_get_number(mp) > 0) em_format_part_as(t->format, t->stream, mainpart, "multipart/mixed"); else if (t->item->handler.old) - t->item->handler.old->handler(t->format, t->stream, t->part, t->item->handler.old); + t->item->handler.old->handler(t->format, t->stream, t->part, t->item->handler.old, FALSE); g_string_truncate(t->format->part_id, len); @@ -183,7 +183,7 @@ org_gnome_format_tnef(gpointer ep, EMFormatHookTarget *t) goto ok; fail: if (t->item->handler.old) - t->item->handler.old->handler(t->format, t->stream, t->part, t->item->handler.old); + t->item->handler.old->handler(t->format, t->stream, t->part, t->item->handler.old, FALSE); ok: g_free(name); g_free(tmpdir); -- cgit v1.2.3