aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-08 05:38:28 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-08 05:38:28 +0800
commit4de1f796a496703b01bcc0a8245030e4fbc378b8 (patch)
tree9817b8c5b886275946ae6aba5fc3b4f643ec82b4 /calendar/cal-client/cal-client.h
parent3d4dc806bfa5832e7d91218b50512e672e377791 (diff)
downloadgsoc2013-evolution-4de1f796a496703b01bcc0a8245030e4fbc378b8.tar.gz
gsoc2013-evolution-4de1f796a496703b01bcc0a8245030e4fbc378b8.tar.zst
gsoc2013-evolution-4de1f796a496703b01bcc0a8245030e4fbc378b8.zip
Big sync. Disable calendar compilation for a few hours - Federico
2000-08-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_get_as_string): Doh, libical owns the string's memory, so do not free it. * cal-client/client-test.c (create_client): Connect to the destroy signal of the client here. * cal-client/test.ics: New test file, modified from Eric Busboom's test file from RFC 2445. 2000-08-05 Federico Mena Quintero <federico@helixcode.com> * cal-client/client-test.c (dump_component): This was gone for some reason. (main): Load a new test file. 2000-08-04 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_commit_sequence): New function to commit changes to the SEQUENCE property. (cal_component_get_as_string): Ensure that the sequence has been committed. * cal-client/cal-client.c (cal_client_get_object): Use CalComponent instead of the old iCalObject. (cal_client_update_object): Use iCalObject. Commit the SEQUENCE property before stringifying the object and piping it over to the Wombat. svn path=/trunk/; revision=4585
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r--calendar/cal-client/cal-client.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h
index 5dc30ddec2..e395fa2e46 100644
--- a/calendar/cal-client/cal-client.h
+++ b/calendar/cal-client/cal-client.h
@@ -24,6 +24,7 @@
#include <libgnome/gnome-defs.h>
#include <gtk/gtkobject.h>
+#include <cal-util/cal-component.h>
#include <cal-util/cal-util.h>
BEGIN_GNOME_DECLS
@@ -85,7 +86,7 @@ int cal_client_get_n_objects (CalClient *client, CalObjType type);
CalClientGetStatus cal_client_get_object (CalClient *client,
const char *uid,
- iCalObject **ico);
+ CalComponent **comp);
CalClientGetStatus cal_client_get_uid_by_pilot_id (CalClient *client,
unsigned long pilot_id,
@@ -105,7 +106,7 @@ gboolean cal_client_get_alarms_for_object (CalClient *client, const char *uid,
time_t start, time_t end,
GList **alarms);
-gboolean cal_client_update_object (CalClient *client, iCalObject *ico);
+gboolean cal_client_update_object (CalClient *client, CalComponent *comp);
gboolean cal_client_remove_object (CalClient *client, const char *uid);