aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/calobj.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-18 07:22:50 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-18 07:22:50 +0800
commit4b926012c0cae01569d71d178dc651d9e4b2c8e8 (patch)
tree0e8bb67d40b658bd6b867b15e909db1846d76908 /calendar/cal-util/calobj.c
parent470866a2577773301742e2c1c83413c83249328a (diff)
downloadgsoc2013-evolution-4b926012c0cae01569d71d178dc651d9e4b2c8e8.tar.gz
gsoc2013-evolution-4b926012c0cae01569d71d178dc651d9e4b2c8e8.tar.zst
gsoc2013-evolution-4b926012c0cae01569d71d178dc651d9e4b2c8e8.zip
The event dialog is beautified, recurrences are saner.
1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_init_recurrence_page): New function that creates the recurrence page in the toplevel notebook. (ee_store_recur_values_to_ical): Now we can also store the recurrences. svn path=/trunk/; revision=151
Diffstat (limited to 'calendar/cal-util/calobj.c')
-rw-r--r--calendar/cal-util/calobj.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index 2ff626c469..73406b9a5f 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -12,8 +12,6 @@
#include "timeutil.h"
#include "versit/vcc.h"
-static void ical_object_compute_end (iCalObject *ico);
-
iCalObject *
ical_object_new (void)
{
@@ -1004,7 +1002,7 @@ duration_callback (iCalObject *ico, time_t start, time_t end, void *closure)
int *count = closure;
(*count)++;
- if (ico->recur->duration == *count){
+ if (ico->recur->duration == *count) {
ico->recur->enddate = end;
return 0;
}
@@ -1019,7 +1017,6 @@ ical_object_compute_end (iCalObject *ico)
g_return_if_fail (ico->recur != NULL);
+ ico->recur->_enddate = 0;
ical_object_generate_events (ico, ico->dtstart, 0, duration_callback, &count);
}
-
-