diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-12 01:32:02 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-12 01:32:02 +0800 |
commit | b1c432f406e4921a3001772473ae646877a0766f (patch) | |
tree | 4403478808d1a57d04d357c97e66656b0a3a1aff /camel/camel-stream-null.c | |
parent | 943c07d50a733f7f0303b739f82d774f538cd92f (diff) | |
download | gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.gz gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.zst gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.zip |
Make this return CamelStream * (like the other stream new functions)
* camel-stream-null.c (camel_stream_null_new): Make this return
CamelStream * (like the other stream new functions) instead of
CamelStreamNull *
svn path=/trunk/; revision=9760
Diffstat (limited to 'camel/camel-stream-null.c')
-rw-r--r-- | camel/camel-stream-null.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/camel-stream-null.c b/camel/camel-stream-null.c index 1738c326cc..293dd36736 100644 --- a/camel/camel-stream-null.c +++ b/camel/camel-stream-null.c @@ -78,16 +78,15 @@ camel_stream_null_get_type (void) } /** - * camel_stream_fs_new_with_fd: - * @fd: a file descriptor + * camel_stream_null_new: * * Returns a NULL stream. A null stream is always at eof, and * always returns success for all reads and writes. * * Return value: the stream **/ -CamelStreamNull * +CamelStream * camel_stream_null_new(void) { - return (CamelStreamNull *)camel_object_new(camel_stream_null_get_type ()); + return (CamelStream *)camel_object_new(camel_stream_null_get_type ()); } |