aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-24 08:14:45 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-24 10:20:54 +0800
commit006b4838e793cf935a7e2e372920277b71e3e518 (patch)
treea7d9d3e5efa6443210d94c0ee536a3989654254e
parentc272089b80dc92c8fa2b6c3261c0156dc7a26aed (diff)
downloadgsoc2013-evolution-006b4838e793cf935a7e2e372920277b71e3e518.tar.gz
gsoc2013-evolution-006b4838e793cf935a7e2e372920277b71e3e518.tar.zst
gsoc2013-evolution-006b4838e793cf935a7e2e372920277b71e3e518.zip
Adapt to Camel API changes.
-rw-r--r--em-format/em-format.c3
-rw-r--r--mail/e-mail-session.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 1d0c60161a..43c38c9179 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -2026,8 +2026,7 @@ emf_application_mbox (EMFormat *emf,
camel_data_wrapper_decode_to_stream_sync (
camel_medium_get_content (CAMEL_MEDIUM (mime_part)),
mem_stream, NULL, NULL);
- camel_seekable_stream_seek (
- CAMEL_SEEKABLE_STREAM (mem_stream), 0, CAMEL_STREAM_SET, NULL);
+ g_seekable_seek (G_SEEKABLE (mem_stream), 0, G_SEEK_SET, NULL, NULL);
camel_mime_parser_init_with_stream (parser, mem_stream, NULL);
g_object_unref (mem_stream);
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 68d553e97d..9f54f956ac 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -886,7 +886,7 @@ mail_session_forward_to (CamelSession *session,
/* make copy of the message, because we are going to modify it */
mem = camel_stream_mem_new ();
camel_data_wrapper_write_to_stream_sync ((CamelDataWrapper *)message, mem, NULL, NULL);
- camel_seekable_stream_seek (CAMEL_SEEKABLE_STREAM (mem), 0, CAMEL_STREAM_SET, NULL);
+ g_seekable_seek (G_SEEKABLE (mem), 0, G_SEEK_SET, NULL, NULL);
camel_data_wrapper_construct_from_stream_sync ((CamelDataWrapper *)forward, mem, NULL, NULL);
g_object_unref (mem);