diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-14 09:20:18 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-14 09:20:18 +0800 |
commit | 40e5e5b1039fef8d4c14bd3c727f0405316f7f2e (patch) | |
tree | a1a473493ff83851e36e2d99529edeb111cbe3cd /calendar/cal-util | |
parent | 2b9202ff4e491e42a91a3476f2715c3214702e28 (diff) | |
download | gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.gz gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.bz2 gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.lz gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.xz gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.zst gsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.zip |
#if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end):
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* 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
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-recur.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 |