diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-03-02 05:38:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-03-02 05:38:36 +0800 |
commit | c9fb61edde27394c05fd90be3fe4b849da45b15d (patch) | |
tree | 7a3e1f2b27d4ef46b71695a296fe8eeaba122d2a /calendar/gui | |
parent | 6f7b69d2a7eb3a8ef2c02cc83157343cd21468dd (diff) | |
download | gsoc2013-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/gui')
-rw-r--r-- | calendar/gui/itip-utils.c | 8 |
1 files changed, 5 insertions, 3 deletions
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; |