aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-26 06:01:22 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-26 06:01:22 +0800
commit38168a2e40c23292e6e9ac8472f06a754e7981e4 (patch)
treed106fb8f52c85fa68ac03b3a760d0836e5b673b7 /calendar/cal-client
parent6602e014932c47e7ddccebb591bc399f54dcdc4c (diff)
downloadgsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar.gz
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar.bz2
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar.lz
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar.xz
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.tar.zst
gsoc2013-evolution-38168a2e40c23292e6e9ac8472f06a754e7981e4.zip
New function. (scan_property): Handle the RDATE property. (scan_period):
2000-07-25 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_free_period_list): New function. (scan_property): Handle the RDATE property. (scan_period): Likewise. (free_icalcomponent): Likewise. (get_period_list): Likewise. (set_period_list): Likewise. (cal_component_get_rdate_list): Likewise. (cal_component_set_rdate_list): Likewise. (scan_text): Simplify a bit since we only handle the ALTREP parameter; there is no need to iterate over all parameters. (scan_datetime): Simplify; just handle the TZID parameter. (scan_summary): Simplify; just handle the ALTREP parameter. (cal_component_get_as_string): New function. * idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER; now we only expose the types of objects we know about. * cal-util/cal-util.h (CalObjType): Likewise. * cal-client/cal-client.c (cal_client_get_n_objects): Likewise. (cal_client_get_uids): Likewise. * conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise. (check_for_slow_setting): Likewise. * pcs/cal-backend-imc.c (count_objects): Likewise. (build_uids_list): Likewise. * pcs/cal.c (Cal_get_uids): Likewise. (Cal_get_n_objects): Likewise. svn path=/trunk/; revision=4336
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 1e0a0561d5..8acd734213 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -577,7 +577,6 @@ cal_client_get_n_objects (CalClient *client, CalObjType type)
t = (((type & CALOBJ_TYPE_EVENT) ? Evolution_Calendar_TYPE_EVENT : 0)
| ((type & CALOBJ_TYPE_TODO) ? Evolution_Calendar_TYPE_TODO : 0)
| ((type & CALOBJ_TYPE_JOURNAL) ? Evolution_Calendar_TYPE_JOURNAL : 0)
- | ((type & CALOBJ_TYPE_OTHER) ? Evolution_Calendar_TYPE_OTHER : 0)
/*
| ((type & CALOBJ_TYPE_ANY) ? Evolution_Calendar_TYPE_ANY : 0)
*/
@@ -797,7 +796,6 @@ cal_client_get_uids (CalClient *client, CalObjType type)
t = (((type & CALOBJ_TYPE_EVENT) ? Evolution_Calendar_TYPE_EVENT : 0)
| ((type & CALOBJ_TYPE_TODO) ? Evolution_Calendar_TYPE_TODO : 0)
| ((type & CALOBJ_TYPE_JOURNAL) ? Evolution_Calendar_TYPE_JOURNAL : 0)
- | ((type & CALOBJ_TYPE_OTHER) ? Evolution_Calendar_TYPE_OTHER : 0)
/*
| ((type & CALOBJ_TYPE_ANY) ? Evolution_Calendar_TYPE_ANY : 0)
*/