From 40e5e5b1039fef8d4c14bd3c727f0405316f7f2e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 14 Dec 2000 01:20:18 +0000 Subject: #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end): 2000-12-13 Christopher James Lahey * cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end): Changed this function to get rid of a possible uninitialized error on the rdate function. * gui/calendar-model.c: Fixed some warnings involving the #define _XOPEN_SOURCE lines here. * gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out the summary_factory object since it's unused if WANT_THE_EXCUTIVE_SUMMARY is not defined. * gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb. (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made it so that * gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. svn path=/trunk/; revision=6982 --- calendar/cal-util/cal-recur.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'calendar/cal-util') diff --git a/calendar/cal-util/cal-recur.c b/calendar/cal-util/cal-recur.c index 5746bfc5f2..12381b7819 100644 --- a/calendar/cal-util/cal-recur.c +++ b/calendar/cal-util/cal-recur.c @@ -439,8 +439,10 @@ static void cal_obj_time_find_first_week (CalObjTime *cotime, RecurData *recur_data); static void cal_object_time_from_time (CalObjTime *cotime, time_t t); +#if 0 static gint cal_obj_date_only_compare_func (const void *arg1, const void *arg2); +#endif @@ -1194,7 +1196,7 @@ static gboolean cal_object_get_rdate_end (CalObjTime *occ, GArray *rdate_periods) { - CalObjRecurrenceDate *rdate; + CalObjRecurrenceDate *rdate = NULL; CalComponentPeriod *p; gint lower, upper, middle, cmp = 0; time_t t; @@ -3424,6 +3426,7 @@ cal_obj_time_compare_func (const void *arg1, return retval; } +#if 0 static gint cal_obj_date_only_compare_func (const void *arg1, const void *arg2) @@ -3450,6 +3453,7 @@ cal_obj_date_only_compare_func (const void *arg1, return 0; } +#endif /* Returns the weekday of the given CalObjTime, from 0 (Mon) - 6 (Sun). */ static gint -- cgit v1.2.3