aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-top-item.h')
-rw-r--r--calendar/gui/e-day-view-top-item.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-day-view-top-item.h b/calendar/gui/e-day-view-top-item.h
index 2d21a42f35..3446cabcad 100644
--- a/calendar/gui/e-day-view-top-item.h
+++ b/calendar/gui/e-day-view-top-item.h
@@ -34,11 +34,11 @@ extern "C" {
* EDayViewTopItem - displays the top part of the Day/Work Week calendar view.
*/
-#define E_DAY_VIEW_TOP_ITEM(obj) (GTK_CHECK_CAST((obj), \
+#define E_DAY_VIEW_TOP_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
e_day_view_top_item_get_type (), EDayViewTopItem))
-#define E_DAY_VIEW_TOP_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k),\
+#define E_DAY_VIEW_TOP_ITEM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k),\
e_day_view_top_item_get_type ()))
-#define E_IS_DAY_VIEW_TOP_ITEM(o) (GTK_CHECK_TYPE((o), \
+#define E_IS_DAY_VIEW_TOP_ITEM(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), \
e_day_view_top_item_get_type ()))
typedef struct {
@@ -57,7 +57,7 @@ typedef struct {
} EDayViewTopItemClass;
-GtkType e_day_view_top_item_get_type (void);
+GType e_day_view_top_item_get_type (void);
void e_day_view_top_item_get_day_label (EDayView *day_view, gint day,
gchar *buffer, gint buffer_len);