From 49a388705e5085a963c3c1b5cdcd324af5d8b1b5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 14 Apr 1998 04:06:58 +0000 Subject: Now takes object and flags parameters. Likewise. Likewise. 1998-04-13 Federico Mena Quintero * gncal-week-view.c (gncal_week_view_update): Now takes object and flags parameters. * gncal-day-view.c (gncal_day_view_update): Likewise. * gncal-full-day.c (gncal_full_day_update): Likewise. (child_focus_in): New function. In conjunction with child_focus_out(), these only display the handles in the child when it is focused. The result is that the user can see more of the child's text when nothing is focused, and we can also display fatter and nicer drag handles. * gnome-cal.c (gnome_calendar_object_changed): Now takes an additional flags parameter (gnome_calendar_update_all): Made function static. Now takes changed object and flags parameters as well. (gnome_calendar_object_changed): Now takes additional flags parameter to indicate what changed in the specified object. * calobj.h (CalObjectChange): New enum with flags to describe what has been changed in an object. svn path=/trunk/; revision=132 --- calendar/gnome-cal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/gnome-cal.h') diff --git a/calendar/gnome-cal.h b/calendar/gnome-cal.h index 5a4d8e8d09..8e765bda15 100644 --- a/calendar/gnome-cal.h +++ b/calendar/gnome-cal.h @@ -42,7 +42,9 @@ void gnome_calendar_add_object (GnomeCalendar *gcal, iCalObject *obj); void gnome_calendar_next (GnomeCalendar *gcal); void gnome_calendar_previous (GnomeCalendar *gcal); void gnome_calendar_goto (GnomeCalendar *gcal, time_t new_time); -void gnome_calendar_object_changed (GnomeCalendar *gcal, iCalObject *obj); + +/* Flags is a bitmask of CalObjectChange values */ +void gnome_calendar_object_changed (GnomeCalendar *gcal, iCalObject *obj, int flags); END_GNOME_DECLS -- cgit v1.2.3