diff options
-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); |