diff options
author | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
commit | 697761cc337aa77a47140c8df50ed84bc25e23f6 (patch) | |
tree | b785830f72e9938cceaa016a419c7b6d9892bada /libical/examples/access_components.c | |
parent | 733d77e657516f9a59b5c1a7b62acb87b03ec86f (diff) | |
download | gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.gz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.zst gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.zip |
Import new libical from mainline HEAD and make appropriate changes to
Evolution.
svn path=/trunk/; revision=22538
Diffstat (limited to 'libical/examples/access_components.c')
-rw-r--r-- | libical/examples/access_components.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libical/examples/access_components.c b/libical/examples/access_components.c index cc5a33d6d2..dc92b64a7c 100644 --- a/libical/examples/access_components.c +++ b/libical/examples/access_components.c @@ -7,7 +7,6 @@ #include <stdlib.h> /* for malloc */ #include <stdio.h> /* for printf */ #include <time.h> /* for time() */ -#include "icalmemory.h" void do_something(icalcomponent *c); @@ -154,7 +153,7 @@ icalcomponent* create_new_component() icalcomponent_add_property( event, - icalproperty_new_class("PUBLIC") + icalproperty_new_class(ICAL_CLASS_PUBLIC) ); icalcomponent_add_property( @@ -242,7 +241,7 @@ icalcomponent* create_new_component_with_va_args() icalproperty_new_description("Project XYZ Review Meeting"), icalproperty_new_categories("MEETING"), - icalproperty_new_class("PUBLIC"), + icalproperty_new_class(ICAL_CLASS_PUBLIC), icalproperty_new_created(atime), icalproperty_new_summary("XYZ Project Review"), icalproperty_vanew_dtstart( |