diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-04-03 04:35:12 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-03 04:35:12 +0800 |
commit | f6963100c2509175cbd22b1556273ddbc0dd4e7d (patch) | |
tree | 5cfbf3602fda3fe5ecaaa716a2094c5aa2f3c0a7 /calendar/gncal-week-view.c | |
parent | d4f096e0ca0ec461d5ab7a3369aaa95480561d92 (diff) | |
download | gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.gz gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.bz2 gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.lz gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.xz gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.zst gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.zip |
Day events are now cached inside the widget. They get initialized at this
1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* 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
Diffstat (limited to 'calendar/gncal-week-view.c')
-rw-r--r-- | calendar/gncal-week-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c index ced5f13627..f7d3222cfe 100644 --- a/calendar/gncal-week-view.c +++ b/calendar/gncal-week-view.c @@ -49,13 +49,13 @@ gncal_week_view_init (GncalWeekView *wview) } GtkWidget * -gncal_week_view_new (Calendar *calendar, time_t start_of_week) +gncal_week_view_new (GnomeCalendar *calendar, time_t start_of_week) { GncalWeekView *wview; int i; -#if 0 + g_return_val_if_fail (calendar != NULL, NULL); -#endif + wview = gtk_type_new (gncal_week_view_get_type ()); wview->table.homogeneous = TRUE; /* FIXME: eeeeeeeeeek, GtkTable does not have a function to set this */ |