aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-12 01:32:02 +0800
committerDan Winship <danw@src.gnome.org>2001-05-12 01:32:02 +0800
commitb1c432f406e4921a3001772473ae646877a0766f (patch)
tree4403478808d1a57d04d357c97e66656b0a3a1aff
parent943c07d50a733f7f0303b739f82d774f538cd92f (diff)
downloadgsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar
gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.gz
gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.bz2
gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.lz
gsoc2013-evolution-b1c432f406e4921a3001772473ae646877a0766f.tar.xz
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
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-stream-null.c7
-rw-r--r--camel/camel-stream-null.h2
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 */