aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-progress.h')
-rw-r--r--widgets/table/e-cell-progress.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-cell-progress.h b/widgets/table/e-cell-progress.h
index f71081016c..01a0d0b504 100644
--- a/widgets/table/e-cell-progress.h
+++ b/widgets/table/e-cell-progress.h
@@ -32,10 +32,10 @@
G_BEGIN_DECLS
#define E_CELL_PROGRESS_TYPE (e_cell_progress_get_type ())
-#define E_CELL_PROGRESS(o) (GTK_CHECK_CAST ((o), E_CELL_PROGRESS_TYPE, ECellProgress))
-#define E_CELL_PROGRESS_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_PROGRESS_TYPE, ECellProgressClass))
-#define E_IS_CELL_PROGRESS(o) (GTK_CHECK_TYPE ((o), E_CELL_PROGRESS_TYPE))
-#define E_IS_CELL_PROGRESS_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_PROGRESS_TYPE))
+#define E_CELL_PROGRESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_CELL_PROGRESS_TYPE, ECellProgress))
+#define E_CELL_PROGRESS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_CELL_PROGRESS_TYPE, ECellProgressClass))
+#define E_IS_CELL_PROGRESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_CELL_PROGRESS_TYPE))
+#define E_IS_CELL_PROGRESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_CELL_PROGRESS_TYPE))
typedef struct {
ECell parent;
@@ -59,7 +59,7 @@ typedef struct {
ECellClass parent_class;
} ECellProgressClass;
-GtkType e_cell_progress_get_type (void);
+GType e_cell_progress_get_type (void);
ECell *e_cell_progress_new (int min, int max, int width, int height);
void e_cell_progress_construct (ECellProgress *eprog, int padding, int border,
int min, int max, int width, int height, guchar red, guchar green, guchar blue);