From b1c432f406e4921a3001772473ae646877a0766f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 11 May 2001 17:32:02 +0000 Subject: 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 --- camel/ChangeLog | 6 ++++++ camel/camel-stream-null.c | 7 +++---- camel/camel-stream-null.h | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index ecc2f3010e..1c5e1de5f5 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-05-11 Dan Winship + + * camel-stream-null.c (camel_stream_null_new): Make this return + CamelStream * (like the other stream new functions) instead of + CamelStreamNull * + 2001-05-10 Chris Toshok * camel-tcp-stream-ssl.c (stream_connect): call SSL_Enable after 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 ()); } diff --git a/camel/camel-stream-null.h b/camel/camel-stream-null.h index 70978c5d61..e12effdcad 100644 --- a/camel/camel-stream-null.h +++ b/camel/camel-stream-null.h @@ -39,6 +39,6 @@ struct _CamelStreamNullClass { guint camel_stream_null_get_type (void); -CamelStreamNull *camel_stream_null_new (void); +CamelStream *camel_stream_null_new (void); #endif /* ! _CAMEL_STREAM_NULL_H */ -- cgit v1.2.3