aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-14 09:20:18 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-14 09:20:18 +0800
commit40e5e5b1039fef8d4c14bd3c727f0405316f7f2e (patch)
treea1a473493ff83851e36e2d99529edeb111cbe3cd /calendar/gui/calendar-model.c
parent2b9202ff4e491e42a91a3476f2715c3214702e28 (diff)
downloadgsoc2013-evolution-40e5e5b1039fef8d4c14bd3c727f0405316f7f2e.tar.gz
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/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 20c2bff234..cbf8a1195c 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -21,15 +21,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
-/* We need this for strptime. */
-#define _XOPEN_SOURCE
#include <config.h>
-#include <ctype.h>
#include <math.h>
-#undef _XOPEN_SOURCE
-#include <sys/time.h>
+/* We need this for strptime. */
+#include <ctype.h>
#define _XOPEN_SOURCE
+#define __USE_XOPEN
+#include <sys/time.h>
+#undef _XOPEN_SOURCE
+#undef __USE_XOPEN
#include <time.h>
#include <gnome.h>
#include <cal-util/timeutil.h>