From 77d15722d272941f67af74f5abb1eef1a21a4644 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 15 Apr 1998 22:51:48 +0000 Subject: The general_owner may be null. Do the proper thing when creating the 1998-04-15 Federico Mena Quintero * eventedit.c (ee_init_general_page): The general_owner may be null. Do the proper thing when creating the label. (ee_ok): Update the gnome calendar appropriately. * timeutil.h: * gncal-year-view.h: Add some missing prototypes. * gncal-full-day.c (child_popup_menu): Set the sensitivity of menu items according to whether the ical object is being edited or not. * eventedit.c (event_editor_new): Set the "being edited" flag on the ical object (stored as the ical object's user data). (event_editor_destroy): Release the flag. * calobj.h: The iCalObject structure now has a generic user_data pointer. * calobj.c (ical_object_set_user_data ical_object_get_user_data): Functions to set this data. svn path=/trunk/; revision=140 --- calendar/timeutil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/timeutil.h') diff --git a/calendar/timeutil.h b/calendar/timeutil.h index fa0b865e76..0c91450f47 100644 --- a/calendar/timeutil.h +++ b/calendar/timeutil.h @@ -31,6 +31,8 @@ char *format_simple_hour (int hour, int use_am_pm); time_t time_start_of_day (time_t t); time_t time_end_of_day (time_t t); time_t time_day_hour (time_t t, int hour); +time_t time_year_begin (int year); +time_t time_year_end (int year); #endif -- cgit