aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-config.h')
-rw-r--r--widgets/table/e-table-config.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/widgets/table/e-table-config.h b/widgets/table/e-table-config.h
index 9c52895d94..f385814f28 100644
--- a/widgets/table/e-table-config.h
+++ b/widgets/table/e-table-config.h
@@ -35,10 +35,11 @@
G_BEGIN_DECLS
#define E_TABLE_CONFIG_TYPE (e_table_config_get_type ())
-#define E_TABLE_CONFIG(o) (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_TYPE, ETableConfig))
-#define E_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_TYPE, ETableConfigClass))
-#define E_IS_TABLE_CONFIG(o) (GTK_CHECK_TYPE ((o), E_TABLE_CONFIG_TYPE))
-#define E_IS_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_TYPE))
+#define E_TABLE_CONFIG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TABLE_CONFIG_TYPE, ETableConfig))
+#define E_TABLE_CONFIG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_TYPE, ETableConfigClass))
+#define E_IS_TABLE_CONFIG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TABLE_CONFIG_TYPE))
+#define E_IS_TABLE_CONFIG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_TYPE))
+#define E_TABLE_CONFIG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), E_TABLE_CONFIG_TYPE, ETableConfigClass))
typedef struct {
GtkComboText *combo;
@@ -52,7 +53,7 @@ typedef struct {
typedef struct {
- GtkObject parent;
+ GObject parent;
char *header;
@@ -90,13 +91,13 @@ typedef struct {
} ETableConfig;
typedef struct {
- GtkObjectClass parent_class;
+ GObjectClass parent_class;
/* Signals */
void (*changed) (ETableConfig *config);
} ETableConfigClass;
-GtkType e_table_config_get_type (void);
+GType e_table_config_get_type (void);
ETableConfig *e_table_config_new (const char *header,
ETableSpecification *spec,
ETableState *state);