From 2be52dd9c3bae010edcd882b7913bf5352b05d42 Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Mon, 4 Feb 2008 10:04:40 +0000 Subject: [PATCH] modify the new_sized() constructor to take a gsize param instead of guint 2008-02-02 Jonathon Jongsma * gio/gbufferedoutputstream.c: * gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a gsize param instead of guint to match the GBufferedInputStream constructor. svn path=/trunk/; revision=6448 --- ChangeLog | 6 ++++++ gio/gbufferedoutputstream.c | 2 +- gio/gbufferedoutputstream.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7846de40..3d09e0e0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-02 Jonathon Jongsma + + * gio/gbufferedoutputstream.c: + * gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a + gsize param instead of guint to match the GBufferedInputStream constructor. + 2008-02-03 Hans Breuer * **/makefile.msc.in : update diff --git a/gio/gbufferedoutputstream.c b/gio/gbufferedoutputstream.c index 04468eda1..4732fce42 100644 --- a/gio/gbufferedoutputstream.c +++ b/gio/gbufferedoutputstream.c @@ -381,7 +381,7 @@ g_buffered_output_stream_new (GOutputStream *base_stream) **/ GOutputStream * g_buffered_output_stream_new_sized (GOutputStream *base_stream, - guint size) + gsize size) { GOutputStream *stream; diff --git a/gio/gbufferedoutputstream.h b/gio/gbufferedoutputstream.h index 134bf8282..5adce9e1f 100644 --- a/gio/gbufferedoutputstream.h +++ b/gio/gbufferedoutputstream.h @@ -74,7 +74,7 @@ struct _GBufferedOutputStreamClass GType g_buffered_output_stream_get_type (void) G_GNUC_CONST; GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream); GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream, - guint size); + gsize size); gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream); void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream, gsize size); -- 2.34.1