diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-24 08:14:45 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:25 +0800 |
commit | c5298d19d85b2015a15b9e207a1c61f0c833816a (patch) | |
tree | 091909939e38254bb5ec655e84791728a225faed | |
parent | 6902173d7bef1d4950ec7ae5dca5fff52506ff37 (diff) | |
download | gsoc2013-evolution-c5298d19d85b2015a15b9e207a1c61f0c833816a.tar.gz gsoc2013-evolution-c5298d19d85b2015a15b9e207a1c61f0c833816a.tar.zst gsoc2013-evolution-c5298d19d85b2015a15b9e207a1c61f0c833816a.zip |
Adapt to Camel API changes.
-rw-r--r-- | em-format/em-format.c | 3 | ||||
-rw-r--r-- | mail/e-mail-session.c | 2 |
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); |