fix parent_class member to be GFilterOutputStreamClass (not

2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
	fix parent_class member to be GFilterOutputStreamClass (not
	GOutputStreamClass). Drop three pointers of padding, which is
	exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
	so the class struct size stays the same.


svn path=/trunk/; revision=7427
This commit is contained in:
Michael Natterer 2008-09-02 17:30:02 +00:00 committed by Michael Natterer
parent 56f80f620e
commit 4c2ca6d3f4
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2008-09-02 Michael Natterer <mitch@imendio.com>
* gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
fix parent_class member to be GFilterOutputStreamClass (not
GOutputStreamClass). Drop three pointers of padding, which is
exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
so the class struct size stays the same.
2008-09-02 Matthias Clasen <mclasen@redhat.com>
Bug 550059 Wrong docs for g_emblemed_icon_add_emblem

View File

@ -1,5 +1,5 @@
/* GIO - GLib Input, Output and Streaming Library
*
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Christian Kellner <gicmo@gnome.org>
* Author: Christian Kellner <gicmo@gnome.org>
*/
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
@ -41,7 +41,7 @@ G_BEGIN_DECLS
/**
* GBufferedOutputStream:
* @parent_class: The parent class.
*
*
* An implementation of #GFilterOutputStream with a sized buffer.
**/
typedef struct _GBufferedOutputStreamClass GBufferedOutputStreamClass;
@ -57,19 +57,16 @@ struct _GBufferedOutputStream
struct _GBufferedOutputStreamClass
{
GOutputStreamClass parent_class;
GFilterOutputStreamClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_g_reserved1) (void);
void (*_g_reserved2) (void);
void (*_g_reserved3) (void);
void (*_g_reserved4) (void);
void (*_g_reserved5) (void);
};
GType g_buffered_output_stream_get_type (void) G_GNUC_CONST;
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,
gsize size);