aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
authorNat Friedman <nat@gnome-support.com>1999-07-19 02:53:19 +0800
committerNat Friedman <nat@src.gnome.org>1999-07-19 02:53:19 +0800
commit19e315ed069021c7eb67e965929c43464d601926 (patch)
tree0926a6a07c43af4cba14338e6d93108230aa7cb0 /calendar/calendar.c
parent986ec88206b8b4c04fb7d6be3dd644096a8884dc (diff)
downloadgsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.gz
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.bz2
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.lz
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.xz
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.tar.zst
gsoc2013-evolution-19e315ed069021c7eb67e965929c43464d601926.zip
Copy the new UID into the iCalObject structure.
1999-07-17 Nat Friedman <nat@gnome-support.com> * calendar.c (calendar_add_object): Copy the new UID into the iCalObject structure. svn path=/trunk/; revision=1029
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c1
1 files changed, 1 insertions, 0 deletions
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;