aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-03-02 05:38:36 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-03-02 05:38:36 +0800
commitc9fb61edde27394c05fd90be3fe4b849da45b15d (patch)
tree7a3e1f2b27d4ef46b71695a296fe8eeaba122d2a /calendar
parent6f7b69d2a7eb3a8ef2c02cc83157343cd21468dd (diff)
downloadgsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar.gz
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar.bz2
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar.lz
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar.xz
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.tar.zst
gsoc2013-evolution-c9fb61edde27394c05fd90be3fe4b849da45b15d.zip
pass the user list and returned icalcomponent to e_cal_send_objects().
2004-03-01 Rodrigo Moya <rodrigo@ximian.com> * gui/itip-utils.c (comp_server_send): pass the user list and returned icalcomponent to e_cal_send_objects(). svn path=/trunk/; revision=24926
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/itip-utils.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a2ce6a63d1..a344a57ff4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
+
+ * gui/itip-utils.c (comp_server_send): pass the user list and
+ returned icalcomponent to e_cal_send_objects().
+
2004-03-01 Kidd Wang <kidd.wang@sun.com>
* gui/print.c: (print_date_label): ignore the timezone info of all-day
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 19e3402969..383d7df0cf 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -536,12 +536,12 @@ static gboolean
comp_server_send (ECalComponentItipMethod method, ECalComponent *comp, ECal *client,
icalcomponent *zones, GList **users)
{
- icalcomponent *top_level;
+ icalcomponent *top_level, *returned_icalcomp = NULL;
gboolean retval = TRUE;
GError *error = NULL;
top_level = comp_toplevel_with_zones (method, comp, client, zones);
- if (!e_cal_send_objects (client, top_level, &error)) {
+ if (!e_cal_send_objects (client, top_level, &users, &returned_icalcomp, &error)) {
/* FIXME Really need a book problem status code */
if (error->code != E_CALENDAR_STATUS_OK) {
/* FIXME Better error message */
@@ -552,7 +552,9 @@ comp_server_send (ECalComponentItipMethod method, ECalComponent *comp, ECal *cli
}
g_clear_error (&error);
-
+
+ if (returned_icalcomp)
+ icalcomponent_free (returned_icalcomp);
icalcomponent_free (top_level);
return retval;