aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-time-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-time-item.h')
-rw-r--r--calendar/gui/e-day-view-time-item.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-day-view-time-item.h b/calendar/gui/e-day-view-time-item.h
index b897eb26f0..f47935190d 100644
--- a/calendar/gui/e-day-view-time-item.h
+++ b/calendar/gui/e-day-view-time-item.h
@@ -35,11 +35,11 @@ extern "C" {
* the EDayView.
*/
-#define E_DAY_VIEW_TIME_ITEM(obj) (GTK_CHECK_CAST((obj), \
+#define E_DAY_VIEW_TIME_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
e_day_view_time_item_get_type (), EDayViewTimeItem))
-#define E_DAY_VIEW_TIME_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k),\
+#define E_DAY_VIEW_TIME_ITEM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k),\
e_day_view_time_item_get_type ()))
-#define E_IS_DAY_VIEW_TIME_ITEM(o) (GTK_CHECK_TYPE((o), \
+#define E_IS_DAY_VIEW_TIME_ITEM(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), \
e_day_view_time_item_get_type ()))
typedef struct {
@@ -61,7 +61,7 @@ typedef struct {
} EDayViewTimeItemClass;
-GtkType e_day_view_time_item_get_type (void);
+GType e_day_view_time_item_get_type (void);
gint e_day_view_time_item_get_column_width (EDayViewTimeItem *dvtmitem);