From 31b57ed0383b2ea225195d4b72a872f7f2d93163 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 20 Sep 2010 23:13:43 -0400 Subject: Adapt to Camel API changes. --- plugins/image-inline/image-inline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/image-inline/image-inline.c') diff --git a/plugins/image-inline/image-inline.c b/plugins/image-inline/image-inline.c index 41b4a898dd..994726d47b 100644 --- a/plugins/image-inline/image-inline.c +++ b/plugins/image-inline/image-inline.c @@ -361,7 +361,8 @@ org_gnome_image_inline_decode (ImageInlinePObject *image_object) /* Stream takes ownership of the byte array. */ stream = camel_stream_mem_new_with_byte_array (array); data_wrapper = camel_medium_get_content (medium); - camel_data_wrapper_decode_to_stream (data_wrapper, stream, NULL); + camel_data_wrapper_decode_to_stream_sync ( + data_wrapper, stream, NULL, NULL); /* Don't trust the content type in the MIME part. It could * be lying or it could be "application/octet-stream". Let -- cgit v1.2.3