From 19e315ed069021c7eb67e965929c43464d601926 Mon Sep 17 00:00:00 2001 From: Nat Friedman Date: Sun, 18 Jul 1999 18:53:19 +0000 Subject: Copy the new UID into the iCalObject structure. 1999-07-17 Nat Friedman * calendar.c (calendar_add_object): Copy the new UID into the iCalObject structure. svn path=/trunk/; revision=1029 --- calendar/calendar.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/calendar.c') diff --git a/calendar/calendar.c b/calendar/calendar.c index dbe1bf7e47..ff7ae8ee5d 100644 --- a/calendar/calendar.c +++ b/calendar/calendar.c @@ -119,6 +119,7 @@ calendar_add_object (Calendar *cal, iCalObject *obj) char buffer [80]; snprintf (buffer, sizeof (buffer), "GnomeCalendar-%ld\n", time (NULL)); + obj->uid = g_strdup (buffer); } cal->modified = TRUE; -- cgit v1.2.3