Commit 0a046221 authored by Tristan Van Berkom's avatar Tristan Van Berkom

* gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-catalog.h,

	gladeui/glade-design-layout.h, gladeui/glade-design-view.h, gladeui/glade-editable.h,
	gladeui/glade-editor-property.h, gladeui/glade-named-icon-chooser-dialog.h,
	gladeui/glade-project.h: Aligning some indentation in headers, adding padding
	to core object classes for possible future expansion.

	Glade core api now officially sealed and ABI stable.
parent 0b47674c
......@@ -29,6 +29,16 @@
- Plugin makes actions invisible instead of removing them
- Everything updated for new sealed api
* gladeui/Makefile.am: slight reordering in build
* gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-catalog.h,
gladeui/glade-design-layout.h, gladeui/glade-design-view.h, gladeui/glade-editable.h,
gladeui/glade-editor-property.h, gladeui/glade-named-icon-chooser-dialog.h,
gladeui/glade-project.h: Aligning some indentation in headers, adding padding
to core object classes for possible future expansion.
Glade core api now officially sealed and ABI stable.
2011-01-04 Johannes Schmid <jhs@gnome.org>
* data/gladeui-2.0.pc.in: Fix include paths and library name
......
......@@ -57,6 +57,7 @@ libgladeui_2_la_SOURCES = \
glade-property.c \
glade-signal-class.c \
glade-signal.c \
glade-widget-action.c \
glade-editable.c \
glade-editor-table.c \
glade-editor-property.c \
......@@ -85,7 +86,6 @@ libgladeui_2_la_SOURCES = \
glade-popup.h \
glade-marshallers.h \
glade-accumulators.h \
glade-widget-action.c \
glade-name-context.c \
glade-displayable-values.c \
glade-cell-renderer-icon.c
......
......@@ -55,7 +55,14 @@ struct _GladeAppClass
GObjectClass parent_class;
/* signals */
void (* signal_editor_created) (GladeApp *app, GladeSignalEditor *signal_editor);
void (* signal_editor_created) (GladeApp *app, GladeSignalEditor *signal_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);
};
......
......@@ -55,6 +55,13 @@ struct _GladeBaseEditorClass
GladeWidget * (*build_child) (GladeBaseEditor *, GladeWidget *, GType);
gboolean (*delete_child) (GladeBaseEditor *, GladeWidget *, GladeWidget *);
gboolean (*move_child) (GladeBaseEditor *, GladeWidget *, GladeWidget *);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
void (* glade_reserved5) (void);
void (* glade_reserved6) (void);
};
......
......@@ -48,8 +48,8 @@ typedef void (*GladeCatalogInitFunc) (const gchar *name);
typedef struct {
gint major;
gint minor;
gint major;
gint minor;
} GladeTargetableVersion;
......
......@@ -48,19 +48,23 @@ enum
struct _GladeDesignLayout
{
GtkBin parent_instance;
GtkBin parent_instance;
GladeDesignLayoutPrivate *priv;
GladeDesignLayoutPrivate *priv;
};
struct _GladeDesignLayoutClass
{
GtkBinClass parent_class;
GtkBinClass parent_class;
gboolean (*widget_event) (GladeProject *project,
GladeWidget *gwidget,
GdkEvent *event);
gboolean (* widget_event) (GladeProject *project,
GladeWidget *gwidget,
GdkEvent *event);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
......
......@@ -46,15 +46,19 @@ typedef struct _GladeDesignViewClass GladeDesignViewClass;
struct _GladeDesignView
{
GtkVBox parent_instance;
GtkVBox parent_instance;
GladeDesignViewPrivate *priv;
GladeDesignViewPrivate *priv;
};
struct _GladeDesignViewClass
{
GtkVBoxClass parent_class;
GtkVBoxClass parent_class;
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
......
......@@ -18,24 +18,23 @@ typedef struct _GladeEditableIface GladeEditableIface;
typedef enum
{
GLADE_PAGE_GENERAL,
GLADE_PAGE_COMMON,
GLADE_PAGE_PACKING,
GLADE_PAGE_ATK,
GLADE_PAGE_QUERY
GLADE_PAGE_GENERAL,
GLADE_PAGE_COMMON,
GLADE_PAGE_PACKING,
GLADE_PAGE_ATK,
GLADE_PAGE_QUERY
} GladeEditorPageType;
struct _GladeEditableIface
{
GTypeInterface g_iface;
/* virtual table */
void (* load) (GladeEditable *editable,
GladeWidget *widget);
void (* set_show_name) (GladeEditable *editable,
gboolean show_name);
GTypeInterface g_iface;
/* virtual table */
void (* load) (GladeEditable *editable,
GladeWidget *widget);
void (* set_show_name) (GladeEditable *editable,
gboolean show_name);
};
GType glade_editable_get_type (void) G_GNUC_CONST;
......
......@@ -5,8 +5,6 @@
G_BEGIN_DECLS
/*******************************************************************************
Boiler plate macros (inspired from glade-command.c)
*******************************************************************************/
......
......@@ -40,18 +40,23 @@ typedef struct _GladeNamedIconChooserDialogClass GladeNamedIconChooserDialogCl
struct _GladeNamedIconChooserDialog
{
GtkDialog parent_instance;
GtkDialog parent_instance;
GladeNamedIconChooserDialogPrivate *priv;
GladeNamedIconChooserDialogPrivate *priv;
};
struct _GladeNamedIconChooserDialogClass
{
GtkDialogClass parent_class;
GtkDialogClass parent_class;
void (* icon_activated) (GladeNamedIconChooserDialog *dialog);
void (* icon_activated) (GladeNamedIconChooserDialog *dialog);
void (* selection_changed) (GladeNamedIconChooserDialog *dialog);
void (* selection_changed) (GladeNamedIconChooserDialog *dialog);
void (* glade_reserved1) (void);
void (* glade_reserved2) (void);
void (* glade_reserved3) (void);
void (* glade_reserved4) (void);
};
GType glade_named_icon_chooser_dialog_get_type (void) G_GNUC_CONST;
......
......@@ -99,6 +99,15 @@ struct _GladeProjectClass
void (*close) (GladeProject *project);
void (*parse_finished) (GladeProject *project);
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