diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-stream-null.c | 7 | ||||
-rw-r--r-- | 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 <danw@ximian.com> + + * 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 <toshok@ximian.com> * 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 */ |