aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-buffer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-24 03:57:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-24 03:57:58 +0800
commitb1be2a6d83aa9b9404ca735e73e73dc903625dc7 (patch)
tree36ede0609588101ba900b8c018462b7c7a3591c9 /camel/camel-stream-buffer.c
parent18ca85654d06140f30ea9db347dcf4f7cf00d7f0 (diff)
downloadgsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.gz
gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.zst
gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.zip
Removed unneeded CAMEL_OBJECT() casts.
2003-10-23 Jeffrey Stedfast <fejj@ximian.com> * *.c: Removed unneeded CAMEL_OBJECT() casts. svn path=/trunk/; revision=23052
Diffstat (limited to 'camel/camel-stream-buffer.c')
-rw-r--r--camel/camel-stream-buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-stream-buffer.c b/camel/camel-stream-buffer.c
index e8b0526873..8051441ae7 100644
--- a/camel/camel-stream-buffer.c
+++ b/camel/camel-stream-buffer.c
@@ -4,7 +4,7 @@
*
* Authors: Michael Zucchi <notzed@ximian.com>
*
- * Copyright 1999, 2000 Ximian, Inc. (www.ximian.com)
+ * Copyright 1999-2003 Ximian, Inc. (www.ximian.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -93,7 +93,7 @@ camel_stream_buffer_finalize (CamelObject *object)
g_free(sbf->buf);
}
if (sbf->stream)
- camel_object_unref(CAMEL_OBJECT(sbf->stream));
+ camel_object_unref (sbf->stream);
g_free(sbf->linebuf);
}
@@ -140,9 +140,9 @@ init_vbuf(CamelStreamBuffer *sbf, CamelStream *s, CamelStreamBufferMode mode, ch
{
set_vbuf(sbf, buf, mode, size);
if (sbf->stream)
- camel_object_unref(CAMEL_OBJECT(sbf->stream));
+ camel_object_unref (sbf->stream);
sbf->stream = s;
- camel_object_ref(CAMEL_OBJECT(sbf->stream));
+ camel_object_ref (sbf->stream);
}
static void