diff options
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-util.c | 4 | ||||
-rw-r--r-- | calendar/cal-util/cal-util.h | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/calendar/cal-util/cal-util.c b/calendar/cal-util/cal-util.c index bfb9c88fff..9365db7370 100644 --- a/calendar/cal-util/cal-util.c +++ b/calendar/cal-util/cal-util.c @@ -66,9 +66,9 @@ cal_obj_change_list_free (GList *list) c = l->data; g_assert (c != NULL); - g_assert (c->uid != NULL); + g_assert (c->calobj != NULL); - g_free (c->uid); + g_free (c->calobj); g_free (c); } diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h index 243cc34105..c587be5568 100644 --- a/calendar/cal-util/cal-util.h +++ b/calendar/cal-util/cal-util.h @@ -42,13 +42,14 @@ typedef struct { void cal_obj_instance_list_free (GList *list); typedef enum { - CALOBJ_UPDATED = 1 << 0, - CALOBJ_REMOVED = 1 << 1 + CALOBJ_ADDED = 1 << 0, + CALOBJ_MODIFIED = 1 << 1, + CALOBJ_DELETED = 1 << 2 } CalObjChangeType; typedef struct { - char *uid; + char *calobj; CalObjChangeType type; } CalObjChange; |