aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-date.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-date.h')
-rw-r--r--widgets/table/e-cell-date.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-cell-date.h b/widgets/table/e-cell-date.h
index f86eb5a1a5..96d5faa5c3 100644
--- a/widgets/table/e-cell-date.h
+++ b/widgets/table/e-cell-date.h
@@ -28,10 +28,10 @@
G_BEGIN_DECLS
#define E_CELL_DATE_TYPE (e_cell_date_get_type ())
-#define E_CELL_DATE(o) (GTK_CHECK_CAST ((o), E_CELL_DATE_TYPE, ECellDate))
-#define E_CELL_DATE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_DATE_TYPE, ECellDateClass))
-#define E_IS_CELL_DATE(o) (GTK_CHECK_TYPE ((o), E_CELL_DATE_TYPE))
-#define E_IS_CELL_DATE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_DATE_TYPE))
+#define E_CELL_DATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_CELL_DATE_TYPE, ECellDate))
+#define E_CELL_DATE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_CELL_DATE_TYPE, ECellDateClass))
+#define E_IS_CELL_DATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_CELL_DATE_TYPE))
+#define E_IS_CELL_DATE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_CELL_DATE_TYPE))
typedef struct {
ECellText base;
@@ -41,7 +41,7 @@ typedef struct {
ECellTextClass parent_class;
} ECellDateClass;
-GtkType e_cell_date_get_type (void);
+GType e_cell_date_get_type (void);
ECell *e_cell_date_new (const char *fontname, GtkJustification justify);
G_END_DECLS