aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-view.h')
-rw-r--r--calendar/gui/calendar-view.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/calendar-view.h b/calendar/gui/calendar-view.h
index 48a01257f3..72e9972419 100644
--- a/calendar/gui/calendar-view.h
+++ b/calendar/gui/calendar-view.h
@@ -29,11 +29,11 @@ G_BEGIN_DECLS
#define TYPE_CALENDAR_VIEW (calendar_view_get_type ())
-#define CALENDAR_VIEW(obj) (GTK_CHECK_CAST ((obj), TYPE_CALENDAR_VIEW, CalendarView))
-#define CALENDAR_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_VIEW, \
+#define CALENDAR_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CALENDAR_VIEW, CalendarView))
+#define CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_VIEW, \
CalendarViewClass))
-#define IS_CALENDAR_VIEW(obj) (GTK_CHECK_TYPE ((obj), TYPE_CALENDAR_VIEW))
-#define IS_CALENDAR_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_CALENDAR_VIEW))
+#define IS_CALENDAR_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CALENDAR_VIEW))
+#define IS_CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CALENDAR_VIEW))
typedef struct _CalendarViewPrivate CalendarViewPrivate;
@@ -48,7 +48,7 @@ typedef struct {
GalViewClass parent_class;
} CalendarViewClass;
-GtkType calendar_view_get_type (void);
+GType calendar_view_get_type (void);
CalendarView *calendar_view_construct (CalendarView *cal_view,
GnomeCalendarViewType view_type,