[glade3] * Adding padding to classes in various files.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * Adding padding to classes in various files.
- Date: Tue, 4 Jan 2011 07:44:23 +0000 (UTC)
commit fab401e47cc8b9591764107200e2b43ba9d6a55c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Jan 4 16:33:31 2011 +0900
* Adding padding to classes in various files.
ChangeLog | 2 ++
gladeui/glade-editor.h | 6 +++++-
gladeui/glade-inspector.h | 20 ++++++++++----------
gladeui/glade-palette.h | 7 ++++++-
gladeui/glade-property.h | 6 ++++++
gladeui/glade-widget-adaptor.h | 9 +++++++++
gladeui/glade-widget.h | 33 +++++++++++++++++++++------------
7 files changed, 59 insertions(+), 24 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4be10b7..b706763 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]:
diff --git a/gladeui/glade-editor.h b/gladeui/glade-editor.h
index 1102712..4f64b26 100644
--- a/gladeui/glade-editor.h
+++ b/gladeui/glade-editor.h
@@ -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);
};
diff --git a/gladeui/glade-inspector.h b/gladeui/glade-inspector.h
index dc13fc2..3b95dad 100644
--- a/gladeui/glade-inspector.h
+++ b/gladeui/glade-inspector.h
@@ -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
diff --git a/gladeui/glade-palette.h b/gladeui/glade-palette.h
index efea332..163d371 100644
--- a/gladeui/glade-palette.h
+++ b/gladeui/glade-palette.h
@@ -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
diff --git a/gladeui/glade-property.h b/gladeui/glade-property.h
index b4d7019..b69c248 100644
--- a/gladeui/glade-property.h
+++ b/gladeui/glade-property.h
@@ -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);
};
diff --git a/gladeui/glade-widget-adaptor.h b/gladeui/glade-widget-adaptor.h
index 42b047c..20589cc 100644
--- a/gladeui/glade-widget-adaptor.h
+++ b/gladeui/glade-widget-adaptor.h
@@ -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, ...) \
diff --git a/gladeui/glade-widget.h b/gladeui/glade-widget.h
index ac87b02..d2f30f0 100644
--- a/gladeui/glade-widget.h
+++ b/gladeui/glade-widget.h
@@ -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);
};
/*******************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]