aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-14 23:40:29 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-14 23:40:29 +0800
commit439bcf6a86e8fbec25b5f004270112dcd1c709f1 (patch)
treed4337c01298480e5a4adf7569d68173f70ed7901 /plugins/itip-formatter
parent00d80d9f1b32442643ce66d03c6cf936bb79dab2 (diff)
downloadgsoc2013-evolution-439bcf6a86e8fbec25b5f004270112dcd1c709f1.tar.gz
gsoc2013-evolution-439bcf6a86e8fbec25b5f004270112dcd1c709f1.tar.zst
gsoc2013-evolution-439bcf6a86e8fbec25b5f004270112dcd1c709f1.zip
use camel_data_wrapper_decode_to_stream instead of
2005-01-14 JP Rosevear <jpr@novell.com> * 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
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog6
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 2892eac91a..bf9b7cd76e 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,5 +1,11 @@
2005-01-14 JP Rosevear <jpr@novell.com>
+ * itip-formatter.c (extract_itip_data): use
+ camel_data_wrapper_decode_to_stream instead of
+ camel_data_wrapper_write_to_stream
+
+2005-01-14 JP Rosevear <jpr@novell.com>
+
* itip-formatter.c (format_itip_object): handle UTC dtstart/dtend
properly
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);