aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/calobj.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-07-23 19:05:52 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-07-23 19:05:52 +0800
commit96b11a7e66beadde0304fb5e402346e9b5bd7887 (patch)
tree91d418e3720791044b1f126ded364fc1268f26e7 /calendar/cal-util/calobj.h
parent171288a34a38acd6e8d26626235aa3ad65c61b05 (diff)
downloadgsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar.gz
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar.bz2
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar.lz
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar.xz
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.tar.zst
gsoc2013-evolution-96b11a7e66beadde0304fb5e402346e9b5bd7887.zip
fixed it so it doesn't crash when a URL is loaded.
2000-07-23 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_create_from_vobject): fixed it so it doesn't crash when a URL is loaded. * cal-util/calobj.h: added a few more fields. svn path=/trunk/; revision=4280
Diffstat (limited to 'calendar/cal-util/calobj.h')
-rw-r--r--calendar/cal-util/calobj.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h
index bb0840fb67..3caef945e2 100644
--- a/calendar/cal-util/calobj.h
+++ b/calendar/cal-util/calobj.h
@@ -28,7 +28,8 @@ enum AlarmUnit {
ALARM_DAYS
};
-/* Field identifiers for the iCalObject structure */
+/* Field identifiers for the iCalObject structure. These are also used to
+ identify columns in ECalendarTable, so be careful when reordering them. */
typedef enum {
ICAL_OBJECT_FIELD_COMMENT,
ICAL_OBJECT_FIELD_COMPLETED,
@@ -46,6 +47,11 @@ typedef enum {
ICAL_OBJECT_FIELD_SUMMARY,
ICAL_OBJECT_FIELD_URL,
ICAL_OBJECT_FIELD_HAS_ALARMS, /* not a real field */
+ ICAL_OBJECT_FIELD_ICON, /* not a real field */
+ ICAL_OBJECT_FIELD_COMPLETE, /* not a real field */
+ ICAL_OBJECT_FIELD_RECURRING, /* not a real field */
+ ICAL_OBJECT_FIELD_OVERDUE, /* not a real field */
+ ICAL_OBJECT_FIELD_COLOR, /* not a real field */
ICAL_OBJECT_FIELD_NUM_FIELDS
} iCalObjectField;