From f6963100c2509175cbd22b1556273ddbc0dd4e7d Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 2 Apr 1998 20:35:12 +0000 Subject: Day events are now cached inside the widget. They get initialized at this 1998-04-02 Miguel de Icaza * gncal-day-view.c (gncal_day_view_update): Day events are now cached inside the widget. They get initialized at this time. * view-utils.c (view_utils_draw_events): Use the list of events. svn path=/trunk/; revision=95 --- calendar/gncal-day-view.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gncal-day-view.h') diff --git a/calendar/gncal-day-view.h b/calendar/gncal-day-view.h index e17eabcab7..80e8a6299f 100644 --- a/calendar/gncal-day-view.h +++ b/calendar/gncal-day-view.h @@ -12,7 +12,7 @@ #include #include #include "calendar.h" - +#include "gnome-cal.h" BEGIN_GNOME_DECLS @@ -28,13 +28,13 @@ typedef struct _GncalDayViewClass GncalDayViewClass; struct _GncalDayView { GtkWidget widget; - Calendar *calendar; /* the calendar we are associated to */ + GnomeCalendar *calendar;/* the calendar we are associated to */ time_t lower; /* lower and upper times to display */ - time_t upper; - - char *day_str; /* what day is it? */ + time_t upper; /* these include the full day */ + char *day_str; /* what day is it? */ + GList *events; /* the events for the this day */ GtkShadowType shadow_type; }; @@ -44,7 +44,7 @@ struct _GncalDayViewClass { guint gncal_day_view_get_type (void); -GtkWidget *gncal_day_view_new (Calendar *calendar, time_t lower, time_t upper); +GtkWidget *gncal_day_view_new (GnomeCalendar *calendar, time_t lower, time_t upper); void gncal_day_view_update (GncalDayView *dview); void gncal_day_view_set_bounds (GncalDayView *dview, time_t lower, time_t upper); -- cgit v1.2.3