aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-01-28 04:26:10 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-01-28 04:26:10 +0800
commitc970e7ace5de19acdb9cf664435cbec8264ee89e (patch)
tree9aa8a570c2ce45f48b2ee7dfafbf90970820fec3 /calendar/calendar.h
parent6d97fa0fe88d5511cbefe38c0251bcce8d5d1575 (diff)
downloadgsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar.gz
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar.bz2
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar.lz
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar.xz
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.tar.zst
gsoc2013-evolution-c970e7ace5de19acdb9cf664435cbec8264ee89e.zip
Warn if the calendar file has changed.
1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (save_calendar_cmd): Warn if the calendar file has changed. * calendar.c (calendar_load, calendar_save): Keep track of the modification time for the calendar file. svn path=/trunk/; revision=632
Diffstat (limited to 'calendar/calendar.h')
-rw-r--r--calendar/calendar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/calendar.h b/calendar/calendar.h
index bd0bf84b90..8dc0c517c3 100644
--- a/calendar/calendar.h
+++ b/calendar/calendar.h
@@ -20,6 +20,9 @@ typedef struct {
/* Time at which the calendar was created */
time_t created;
+ /* Timestamp in the filename */
+ time_t file_time;
+
/* If the calendar was last modified */
int modified;
void *temp;