aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-12-07 06:28:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-12-07 06:28:19 +0800
commitb05cea89b97e1e0d5f01b243d16129615d176b2d (patch)
tree17974ee2c7ee82a0413b1ee7dbf6034434ac3e92 /calendar/cal-util
parentbf5e92e96c434bb6270844cd7ef7a1405f95f4cf (diff)
downloadgsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar.gz
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar.bz2
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar.lz
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar.xz
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.tar.zst
gsoc2013-evolution-b05cea89b97e1e0d5f01b243d16129615d176b2d.zip
kill (Cal_get_changes): return the corba sequence directly
2000-12-06 JP Rosevear <jpr@helixcode.com> * pcs/cal.c (build_change_seq): kill (Cal_get_changes): return the corba sequence directly * pcs/cal-backend.h: update prototype * pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Build the corba struct rather than the old calobjchange thing (cal_backend_compute_changes): ditto. build and return the actual corba sequence rather than the list of calobjchanges (cal_backend_get_changes): return the corba sequence * cal-util/cal-util.h: Remove CalObjChange cruft * cal-util/cal-util.c (cal_obj_change_list_free): Kill svn path=/trunk/; revision=6826
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/cal-util.c25
-rw-r--r--calendar/cal-util/cal-util.h14
2 files changed, 0 insertions, 39 deletions
diff --git a/calendar/cal-util/cal-util.c b/calendar/cal-util/cal-util.c
index 9365db7370..092fd79889 100644
--- a/calendar/cal-util/cal-util.c
+++ b/calendar/cal-util/cal-util.c
@@ -51,31 +51,6 @@ cal_obj_instance_list_free (GList *list)
}
/**
- * cal_obj_change_list_free:
- * @list: List of #CalObjChange structures.
- *
- * Frees a list of #CalObjChange structures.
- **/
-void
-cal_obj_change_list_free (GList *list)
-{
- CalObjChange *c;
- GList *l;
-
- for (l = list; l; l = l->next) {
- c = l->data;
-
- g_assert (c != NULL);
- g_assert (c->calobj != NULL);
-
- g_free (c->calobj);
- g_free (c);
- }
-
- g_list_free (list);
-}
-
-/**
* cal_alarm_instance_list_free:
* @list: List of #CalAlarmInstance structures.
*
diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h
index c587be5568..5c640a2d89 100644
--- a/calendar/cal-util/cal-util.h
+++ b/calendar/cal-util/cal-util.h
@@ -41,20 +41,6 @@ typedef struct {
void cal_obj_instance_list_free (GList *list);
-typedef enum {
- CALOBJ_ADDED = 1 << 0,
- CALOBJ_MODIFIED = 1 << 1,
- CALOBJ_DELETED = 1 << 2
-} CalObjChangeType;
-
-typedef struct
-{
- char *calobj;
- CalObjChangeType type;
-} CalObjChange;
-
-void cal_obj_change_list_free (GList *list);
-
/* Instance of an alarm trigger */
typedef struct {
char *uid; /* UID of object */