Commit e5d1ea8c authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Massive padding addition to class structures.

Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/*.h gdk/*.h: Massive padding addition to class structures.

        * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
parent 96882ebc
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.h gdk/*.h: Massive padding addition to class structures.
* gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
Fri Feb 22 20:28:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Applied patch from Thomas Leonard to make
......
......@@ -86,6 +86,18 @@ Returns whether the style is attached to a window.
@draw_expander:
@draw_layout:
@draw_resize_grip:
@_gtk_reserved1:
@_gtk_reserved2:
@_gtk_reserved3:
@_gtk_reserved4:
@_gtk_reserved5:
@_gtk_reserved6:
@_gtk_reserved7:
@_gtk_reserved8:
@_gtk_reserved9:
@_gtk_reserved10:
@_gtk_reserved11:
@_gtk_reserved12:
<!-- ##### FUNCTION gtk_style_new ##### -->
<para>
......
......@@ -733,6 +733,13 @@ GtkTreeView
@arg2:
@arg3:
<!-- ##### SIGNAL GtkTreeView::focus-column-header ##### -->
<para>
</para>
@treeview: the object which received the signal.
<!-- ##### SIGNAL GtkTreeView::move-cursor ##### -->
<para>
......@@ -834,6 +841,13 @@ GtkTreeView
@treeview: the object which received the signal.
<!-- ##### SIGNAL GtkTreeView::unselect-all ##### -->
<para>
</para>
@treeview: the object which received the signal.
<!-- ##### ARG GtkTreeView:model ##### -->
<para>
......
......@@ -154,12 +154,22 @@ struct _GdkDrawableClass
gint width,
gint height);
void (*_gdk_reserved1) (void);
void (*_gdk_reserved2) (void);
void (*_gdk_reserved3) (void);
void (*_gdk_reserved4) (void);
void (*_gdk_reserved5) (void);
void (*_gdk_reserved6) (void);
/* Padding for future expansion */
void (*_gdk_reserved1) (void);
void (*_gdk_reserved2) (void);
void (*_gdk_reserved3) (void);
void (*_gdk_reserved4) (void);
void (*_gdk_reserved5) (void);
void (*_gdk_reserved6) (void);
void (*_gdk_reserved7) (void);
void (*_gdk_reserved9) (void);
void (*_gdk_reserved10) (void);
void (*_gdk_reserved11) (void);
void (*_gdk_reserved12) (void);
void (*_gdk_reserved13) (void);
void (*_gdk_reserved14) (void);
void (*_gdk_reserved15) (void);
void (*_gdk_reserved16) (void);
};
GType gdk_drawable_get_type (void);
......
......@@ -183,6 +183,12 @@ struct _GdkGCClass
gint dash_offset,
gint8 dash_list[],
gint n);
/* Padding for future expansion */
void (*_gdk_reserved1) (void);
void (*_gdk_reserved2) (void);
void (*_gdk_reserved3) (void);
void (*_gdk_reserved4) (void);
};
......
......@@ -70,6 +70,7 @@ struct _GtkAccelGroup
guint n_accels;
GtkAccelGroupEntry *priv_accels;
};
struct _GtkAccelGroupClass
{
GObjectClass parent_class;
......@@ -78,7 +79,14 @@ struct _GtkAccelGroupClass
guint keyval,
GdkModifierType modifier,
GClosure *accel_closure);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
struct _GtkAccelKey
{
guint accel_key;
......
......@@ -75,6 +75,12 @@ struct _GtkAccelLabelClass
gchar *mod_separator;
gchar *accel_seperator;
guint latin1_to_char : 1;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
#ifndef GTK_DISABLE_DEPRECATED
......
......@@ -60,6 +60,12 @@ struct _GtkAccessibleClass
AtkObjectClass parent_class;
void (*connect_widget_destroyed) (GtkAccessible *accessible);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
......
......@@ -66,6 +66,12 @@ struct _GtkAdjustmentClass
void (* changed) (GtkAdjustment *adjustment);
void (* value_changed) (GtkAdjustment *adjustment);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -78,6 +78,12 @@ struct _GtkButtonClass
void (* enter) (GtkButton *button);
void (* leave) (GtkButton *button);
void (* activate) (GtkButton *button);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -89,6 +89,12 @@ struct _GtkCalendar
gpointer private_data;
gchar grow_space [32];
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
struct _GtkCalendarClass
......
......@@ -104,6 +104,12 @@ struct _GtkCellRendererClass
GdkRectangle *background_area,
GdkRectangle *cell_area,
GtkCellRendererState flags);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
......
......@@ -49,6 +49,12 @@ struct _GtkCellRendererPixbuf
struct _GtkCellRendererPixbufClass
{
GtkCellRendererClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_cell_renderer_pixbuf_get_type (void);
......
......@@ -82,6 +82,12 @@ struct _GtkCellRendererTextClass
void (* edited) (GtkCellRendererText *cell_renderer_text,
const gchar *path,
const gchar *new_text);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_cell_renderer_text_get_type (void);
......
......@@ -53,6 +53,12 @@ struct _GtkCellRendererToggleClass
void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle,
const gchar *path);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_cell_renderer_toggle_get_type (void);
......
......@@ -59,6 +59,12 @@ struct _GtkCheckButtonClass
void (* draw_indicator) (GtkCheckButton *check_button,
GdkRectangle *area);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -64,6 +64,12 @@ struct _GtkCheckMenuItemClass
void (* toggled) (GtkCheckMenuItem *check_menu_item);
void (* draw_indicator) (GtkCheckMenuItem *check_menu_item,
GdkRectangle *area);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -63,6 +63,12 @@ struct _GtkColorSelectionClass
GtkVBoxClass parent_class;
void (*color_changed) (GtkColorSelection *color_selection);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -59,6 +59,12 @@ struct _GtkColorSelectionDialog
struct _GtkColorSelectionDialogClass
{
GtkDialogClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -69,6 +69,12 @@ struct _GtkCombo {
struct _GtkComboClass {
GtkHBoxClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_combo_get_type (void) G_GNUC_CONST;
......
......@@ -93,9 +93,12 @@ struct _GtkContainerClass
guint property_id,
GValue *value,
GParamSpec *pspec);
/* Padding for future expansion */
GtkFunction pad1;
GtkFunction pad2;
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
/* Application-level methods */
......
......@@ -87,6 +87,12 @@ struct _GtkCurveClass
GtkDrawingAreaClass parent_class;
void (* curve_type_changed) (GtkCurve *curve);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -113,6 +113,12 @@ struct _GtkDialogClass
/* Keybinding signals */
void (* close) (GtkDialog *dialog);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -58,6 +58,12 @@ struct _GtkDrawingArea
struct _GtkDrawingAreaClass
{
GtkWidgetClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -139,6 +139,12 @@ struct _GtkEntryClass
void (* copy_clipboard) (GtkEntry *entry);
void (* paste_clipboard) (GtkEntry *entry);
void (* toggle_overwrite) (GtkEntry *entry);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_entry_get_type (void) G_GNUC_CONST;
......
......@@ -82,6 +82,12 @@ struct _GtkFileSelection
struct _GtkFileSelectionClass
{
GtkDialogClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -90,6 +90,12 @@ struct _GtkFontSelection
struct _GtkFontSelectionClass
{
GtkVBoxClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......@@ -114,6 +120,12 @@ struct _GtkFontSelectionDialog
struct _GtkFontSelectionDialogClass
{
GtkDialogClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -74,6 +74,12 @@ struct _GtkGammaCurve
struct _GtkGammaCurveClass
{
GtkVBoxClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -85,6 +85,12 @@ struct _GtkHandleBoxClass
GtkWidget *child);
void (*child_detached) (GtkHandleBox *handle_box,
GtkWidget *child);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -54,7 +54,11 @@ struct _GtkIconFactoryClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GType gtk_icon_factory_get_type (void);
......
......@@ -123,6 +123,12 @@ struct _GtkImage
struct _GtkImageClass
{
GtkMiscClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_image_get_type (void) G_GNUC_CONST;
......
......@@ -83,10 +83,13 @@ struct _GtkIMContextClass
gchar **text,
gint *cursor_index);
/* Some padding for future expansion. Must be left NULL for now */
void (*pad1) (void);
void (*pad2) (void);
void (*pad3) (void);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
};
GtkType gtk_im_context_get_type (void) G_GNUC_CONST;
......
......@@ -53,6 +53,12 @@ struct _GtkIMMulticontext
struct _GtkIMMulticontextClass
{
GtkIMContextClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_im_multicontext_get_type (void) G_GNUC_CONST;
......
......@@ -84,6 +84,12 @@ struct _GtkInputDialogClass
GdkDevice *device);
void (* disable_device) (GtkInputDialog *inputd,
GdkDevice *device);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -55,6 +55,12 @@ struct _GtkInvisible
struct _GtkInvisibleClass
{
GtkWidgetClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_invisible_get_type (void) G_GNUC_CONST;
......
......@@ -60,6 +60,12 @@ struct _GtkItemClass
void (* select) (GtkItem *item);
void (* deselect) (GtkItem *item);
void (* toggle) (GtkItem *item);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -80,6 +80,12 @@ struct _GtkItemFactoryClass
GtkObjectClass object_class;
GHashTable *item_ht;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
struct _GtkItemFactoryEntry
......
......@@ -88,6 +88,12 @@ struct _GtkLabelClass
/* Hook to customize right-click popup for selectable labels */
void (* populate_popup) (GtkLabel *label,
GtkMenu *menu);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_label_get_type (void) G_GNUC_CONST;
......
......@@ -51,7 +51,8 @@ extern "C" {
typedef struct _GtkLayout GtkLayout;
typedef struct _GtkLayoutClass GtkLayoutClass;
struct _GtkLayout {
struct _GtkLayout
{
GtkContainer container;
GList *children;
......@@ -73,12 +74,19 @@ struct _GtkLayout {
guint freeze_count;
};
struct _GtkLayoutClass {
struct _GtkLayoutClass
{
GtkContainerClass parent_class;
void (*set_scroll_adjustments) (GtkLayout *layout,
GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkType gtk_layout_get_type (void) G_GNUC_CONST;
......
......@@ -60,6 +60,12 @@ struct _GtkListStore
struct _GtkListStoreClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -112,6 +112,12 @@ struct _GtkMenu
struct _GtkMenuClass
{
GtkMenuShellClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
......
......@@ -56,6 +56,12 @@ struct _GtkMenuBar
struct _GtkMenuBarClass
{
GtkMenuShellClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};