aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-html-stream.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
commit8771a6de3590d468d1a2c3cfab34955c624f614a (patch)
treedc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /mail/em-html-stream.c
parent69a1e923a71ee881721e21b991de08b897f9e7b0 (diff)
downloadgsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip
More code cleanup.
Diffstat (limited to 'mail/em-html-stream.c')
-rw-r--r--mail/em-html-stream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-html-stream.c b/mail/em-html-stream.c
index a3284ab33e..501a2b7bad 100644
--- a/mail/em-html-stream.c
+++ b/mail/em-html-stream.c
@@ -38,7 +38,7 @@ static void em_html_stream_class_init (EMHTMLStreamClass *klass);
static void em_html_stream_init (CamelObject *object);
static void em_html_stream_finalize (CamelObject *object);
-static ssize_t emhs_sync_write(CamelStream *stream, const gchar *buffer, size_t n);
+static gssize emhs_sync_write(CamelStream *stream, const gchar *buffer, gsize n);
static gint emhs_sync_close(CamelStream *stream);
static gint emhs_sync_flush(CamelStream *stream);
@@ -103,8 +103,8 @@ em_html_stream_finalize (CamelObject *object)
}
}
-static ssize_t
-emhs_sync_write(CamelStream *stream, const gchar *buffer, size_t n)
+static gssize
+emhs_sync_write(CamelStream *stream, const gchar *buffer, gsize n)
{
EMHTMLStream *emhs = EM_HTML_STREAM (stream);
@@ -116,10 +116,10 @@ emhs_sync_write(CamelStream *stream, const gchar *buffer, size_t n)
gtk_html_stream_write(emhs->html_stream, buffer, n);
- return (ssize_t) n;
+ return (gssize) n;
}
-static int
+static gint
emhs_sync_flush(CamelStream *stream)
{
EMHTMLStream *emhs = (EMHTMLStream *)stream;
@@ -132,7 +132,7 @@ emhs_sync_flush(CamelStream *stream)
return 0;
}
-static int
+static gint
emhs_sync_close(CamelStream *stream)
{
EMHTMLStream *emhs = (EMHTMLStream *)stream;