diff options
Diffstat (limited to 'camel/camel-stream.c')
-rw-r--r-- | camel/camel-stream.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/camel/camel-stream.c b/camel/camel-stream.c index 26c346e1e5..5128d0309c 100644 --- a/camel/camel-stream.c +++ b/camel/camel-stream.c @@ -45,12 +45,6 @@ default_camel_close (CamelStream *stream) /* nothing */ } -static gint -default_camel_seek (CamelStream *stream, gint offset, CamelStreamSeekPolicy policy) -{ - /* nothing */ - return -1; -} static void camel_stream_class_init (CamelStreamClass *camel_stream_class) @@ -65,7 +59,6 @@ camel_stream_class_init (CamelStreamClass *camel_stream_class) camel_stream_class->available = NULL; camel_stream_class->eos = NULL; camel_stream_class->close = default_camel_close; - camel_stream_class->seek = default_camel_seek; /* virtual method overload */ } @@ -181,23 +174,6 @@ camel_stream_close (CamelStream *stream) } -/** - * camel_stream_seek: - * @stream: a CamelStream object. - * @offset: offset value - * @policy: what to do with the offset - * - * - * - * Return value: new position, -1 if operation failed. - **/ -gint -camel_stream_seek (CamelStream *stream, gint offset, CamelStreamSeekPolicy policy) -{ - return CS_CLASS (stream)->seek (stream, offset, policy); -} - - /***************** Utility functions ********************/ |