mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-22 12:14:52 +02:00
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:
parent
56f80f620e
commit
4c2ca6d3f4
@ -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>
|
2008-09-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
|
Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* GIO - GLib Input, Output and Streaming Library
|
/* GIO - GLib Input, Output and Streaming Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2007 Red Hat, Inc.
|
* Copyright (C) 2006-2007 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||||
* Boston, MA 02111-1307, USA.
|
* 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)
|
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
|
||||||
@ -41,7 +41,7 @@ G_BEGIN_DECLS
|
|||||||
/**
|
/**
|
||||||
* GBufferedOutputStream:
|
* GBufferedOutputStream:
|
||||||
* @parent_class: The parent class.
|
* @parent_class: The parent class.
|
||||||
*
|
*
|
||||||
* An implementation of #GFilterOutputStream with a sized buffer.
|
* An implementation of #GFilterOutputStream with a sized buffer.
|
||||||
**/
|
**/
|
||||||
typedef struct _GBufferedOutputStreamClass GBufferedOutputStreamClass;
|
typedef struct _GBufferedOutputStreamClass GBufferedOutputStreamClass;
|
||||||
@ -57,19 +57,16 @@ struct _GBufferedOutputStream
|
|||||||
|
|
||||||
struct _GBufferedOutputStreamClass
|
struct _GBufferedOutputStreamClass
|
||||||
{
|
{
|
||||||
GOutputStreamClass parent_class;
|
GFilterOutputStreamClass parent_class;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
/* Padding for future expansion */
|
/* Padding for future expansion */
|
||||||
void (*_g_reserved1) (void);
|
void (*_g_reserved1) (void);
|
||||||
void (*_g_reserved2) (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 (GOutputStream *base_stream);
|
||||||
GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream,
|
GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream,
|
||||||
gsize size);
|
gsize size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user