From a4b297a8d4fbcbfc6afe5df3b8844d3e3fbce8c3 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 9 Apr 1998 07:36:54 +0000 Subject: Show instead of just map the child widget (otherwise the text widget gets 1998-04-09 Federico Mena Quintero * gncal-full-day.c (child_map): Show instead of just map the child widget (otherwise the text widget gets confused and will not focus). * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x". * calobj.h: Added prototype for ical_object_to_vobject(). * gnome-cal.c (gnome_calendar_object_changed): New function. This should be called when a calendar object is changed. * gncal-full-day.c (update_from_drag_info): Call gnome_calendar_object_changed() instead of updating manually. * calendar.c (calendar_add_object): (calendar_remove_object): Set the modified flag to true. * gncal-full-day.c (gncal_full_day_draw): Finished implementing this function. svn path=/trunk/; revision=120 --- calendar/calendar.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'calendar/calendar.h') diff --git a/calendar/calendar.h b/calendar/calendar.h index 8f4e4c1497..f93946315c 100644 --- a/calendar/calendar.h +++ b/calendar/calendar.h @@ -17,15 +17,15 @@ typedef struct { void *temp; } Calendar; -Calendar *calendar_new (char *title); -void calendar_load (Calendar *cal, char *fname); -void calendar_add_object (Calendar *cal, iCalObject *obj); -void calendar_remove_object (Calendar *cal, iCalObject *obj); -void calendar_destroy (Calendar *cal); -GList *calendar_get_events_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); -GList *calendar_get_todo_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); -GList *calendar_get_journal_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); -gint calendar_compare_by_dtstart (gpointer a, gpointer b); +Calendar *calendar_new (char *title); +void calendar_load (Calendar *cal, char *fname); +void calendar_add_object (Calendar *cal, iCalObject *obj); +void calendar_remove_object (Calendar *cal, iCalObject *obj); +void calendar_destroy (Calendar *cal); +GList *calendar_get_events_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); +GList *calendar_get_todo_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); +GList *calendar_get_journal_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); +gint calendar_compare_by_dtstart (gpointer a, gpointer b); END_GNOME_DECLS -- cgit v1.2.3