aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
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 */