Commit fab401e4 authored by Tristan Van Berkom's avatar Tristan Van Berkom

* Adding padding to classes in various files.

parent 0d896793
......@@ -12,6 +12,8 @@
* gladeui/glade-cell-renderer-icon.[ch]: Privatizing members.
* Adding padding to classes in various files.
2011-01-03 Tristan Van Berkom <tristanvb@openismus.com>
* gladeui/glade-app.[ch]:
......
......@@ -110,8 +110,12 @@ struct _GladeEditor
struct _GladeEditorClass
{
GtkVBoxClass parent_class;
GtkVBoxClass parent_class;
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
......
......@@ -52,32 +52,32 @@ typedef struct _GladeInspectorPrivate GladeInspectorPrivate;
*/
struct _GladeInspector
{
GtkVBox parent_instance;
GtkVBox parent_instance;
GladeInspectorPrivate *priv;
GladeInspectorPrivate *priv;
};
struct _GladeInspectorClass
{
GtkVBoxClass parent_class;
GtkVBoxClass parent_class;
void (* selection_changed) (GladeInspector *inspector);
void (* item_activated) (GladeInspector *inspector);
void (* selection_changed) (GladeInspector *inspector);
void (* item_activated) (GladeInspector *inspector);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
GType glade_inspector_get_type (void) G_GNUC_CONST;
GtkWidget *glade_inspector_new (void);
GtkWidget *glade_inspector_new_with_project (GladeProject *project);
void glade_inspector_set_project (GladeInspector *inspector,
GladeProject *project);
GladeProject *glade_inspector_get_project (GladeInspector *inspector);
GList *glade_inspector_get_selected_items (GladeInspector *inspector);
G_END_DECLS
......
......@@ -56,7 +56,12 @@ struct _GladePaletteClass
{
GtkVBoxClass parent_class;
void (* refresh) (GladePalette *palette);
void (* refresh) (GladePalette *palette);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
typedef enum
......
......@@ -50,6 +50,12 @@ struct _GladePropertyKlass
void (* value_changed) (GladeProperty *, GValue *, GValue *);
void (* tooltip_changed) (GladeProperty *, const gchar *,
const gchar *, const gchar *);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
void (* glade_reserved5) (void);
void (* glade_reserved6) (void);
};
......
......@@ -669,6 +669,15 @@ struct _GladeWidgetAdaptorClass
GladeCreateEPropFunc create_eprop; /* Creates a GladeEditorProperty */
GladeStringFromValueFunc string_from_value; /* Creates a string for a value */
GladeCreateEditableFunc create_editable; /* Creates a page for the editor */
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
void (* glade_reserved5) (void);
void (* glade_reserved6) (void);
void (* glade_reserved7) (void);
void (* glade_reserved8) (void);
};
#define glade_widget_adaptor_create_widget(adaptor, query, ...) \
......
......@@ -30,21 +30,30 @@ struct _GladeWidget
struct _GladeWidgetClass
{
GInitiallyUnownedClass parent_class;
void (*add_child) (GladeWidget *, GladeWidget *, gboolean);
void (*remove_child) (GladeWidget *, GladeWidget *);
void (*replace_child) (GladeWidget *, GObject *, GObject *);
void (*add_signal_handler) (GladeWidget *, GladeSignal *);
void (*remove_signal_handler) (GladeWidget *, GladeSignal *);
void (*change_signal_handler) (GladeWidget *, GladeSignal *, GladeSignal *);
gint (*button_press_event) (GladeWidget *, GdkEvent *);
gint (*button_release_event) (GladeWidget *, GdkEvent *);
gint (*motion_notify_event) (GladeWidget *, GdkEvent *);
gboolean (*event) (GladeWidget *, GdkEvent *);
GInitiallyUnownedClass parent_class;
void (*add_child) (GladeWidget *, GladeWidget *, gboolean);
void (*remove_child) (GladeWidget *, GladeWidget *);
void (*replace_child) (GladeWidget *, GObject *, GObject *);
void (*add_signal_handler) (GladeWidget *, GladeSignal *);
void (*remove_signal_handler) (GladeWidget *, GladeSignal *);
void (*change_signal_handler) (GladeWidget *, GladeSignal *, GladeSignal *);
gint (*button_press_event) (GladeWidget *, GdkEvent *);
gint (*button_release_event) (GladeWidget *, GdkEvent *);
gint (*motion_notify_event) (GladeWidget *, GdkEvent *);
gboolean (*event) (GladeWidget *, GdkEvent *);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
void (* glade_reserved5) (void);
void (* glade_reserved6) (void);
void (* glade_reserved7) (void);
void (* glade_reserved8) (void);
};
/*******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment