From 439bcf6a86e8fbec25b5f004270112dcd1c709f1 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 14 Jan 2005 15:40:29 +0000 Subject: use camel_data_wrapper_decode_to_stream instead of 2005-01-14 JP Rosevear * itip-formatter.c (extract_itip_data): use camel_data_wrapper_decode_to_stream instead of camel_data_wrapper_write_to_stream svn path=/trunk/; revision=28404 --- plugins/itip-formatter/itip-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/itip-formatter/itip-formatter.c') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index ca194ad9ae..08757caae3 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -951,7 +951,7 @@ extract_itip_data (FormatItipPObject *pitip, GtkContainer *container) content = camel_medium_get_content_object ((CamelMedium *) pitip->pobject.part); mem = camel_stream_mem_new (); - camel_data_wrapper_write_to_stream (content, mem); + camel_data_wrapper_decode_to_stream (content, mem); pitip->vcalendar = g_strndup (((CamelStreamMem *) mem)->buffer->data, ((CamelStreamMem *) mem)->buffer->len); -- cgit