diff options
author | Damon Chaplin <damon@ximian.com> | 2001-07-03 17:12:12 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-07-03 17:12:12 +0800 |
commit | a753b72a982b384b91a78ef91aa6088ca11c9824 (patch) | |
tree | 684fe7ee29fceda053e5f9801c5b8692ff256a60 /calendar/gui/e-day-view.c | |
parent | 5181884e249cc4c808114e6b3fd8b958532084f0 (diff) | |
download | gsoc2013-evolution-a753b72a982b384b91a78ef91aa6088ca11c9824.tar.gz gsoc2013-evolution-a753b72a982b384b91a78ef91aa6088ca11c9824.tar.zst gsoc2013-evolution-a753b72a982b384b91a78ef91aa6088ca11c9824.zip |
fix warning, and added some debug messages.
2001-07-03 Damon Chaplin <damon@ximian.com>
* gui/e-day-view.c (query_obj_updated_cb): fix warning, and added
some debug messages.
* gui/dialogs/comp-editor-util.c (write_label_piece):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime()
to set the weekday, though this is a temporary fix.
svn path=/trunk/; revision=10737
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 0cf6704798..e854576659 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1486,7 +1486,7 @@ query_obj_updated_cb (CalQuery *query, const char *uid, cal_recur_generate_instances (comp, day_view->lower, day_view->upper, e_day_view_add_event, day_view, - cal_client_resolve_tzid, day_view->client); + (CalRecurResolveTimezoneFn) cal_client_resolve_tzid, day_view->client); gtk_object_unref (GTK_OBJECT (comp)); e_day_view_check_layout (day_view); @@ -2222,6 +2222,9 @@ e_day_view_recalc_day_starts (EDayView *day_view, day_view->day_starts[day] = time_add_day (day_view->day_starts[day - 1], 1); } + for (day = 0; day <= day_view->days_shown; day++) + g_print ("Day Starts %i: %s", day, ctime (&day_view->day_starts[day])); + day_view->lower = start_time; day_view->upper = day_view->day_starts[day_view->days_shown]; } |