aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-04-08 03:56:41 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-04-08 03:56:41 +0800
commit5c0dca8bd51d32374d72ca870d0bfa11df8f1e78 (patch)
tree5919dbd92aaa573f43648468f5e0f6665cd8abaf /calendar/gui/itip-utils.c
parent3b5fc9292b9edd41c51d8b40d213c5ddbcd9327e (diff)
downloadgsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.tar.gz
gsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.tar.zst
gsoc2013-evolution-5c0dca8bd51d32374d72ca870d0bfa11df8f1e78.zip
create button properly
2003-04-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index ab32ac79c1..7db8456209 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -533,7 +533,7 @@ comp_server_send (CalComponentItipMethod method, CalComponent *comp, CalClient *
CalClientSendResult result;
icalcomponent *top_level, *new_top_level = NULL;
char error_msg[256];
- gboolean retval = FALSE;
+ gboolean retval = TRUE;
top_level = comp_toplevel_with_zones (method, comp, client, zones);
result = cal_client_send_object (client, top_level, &new_top_level, users, error_msg);
@@ -545,8 +545,6 @@ comp_server_send (CalComponentItipMethod method, CalComponent *comp, CalClient *
icalcomponent_remove_component (new_top_level, ical_comp);
cal_component_set_icalcomponent (comp, ical_comp);
icalcomponent_free (new_top_level);
-
- retval = TRUE;
} else if (result == CAL_CLIENT_SEND_BUSY) {
e_notice (NULL, GTK_MESSAGE_ERROR, error_msg);
@@ -828,7 +826,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
CORBA_Object *composer_server;
CalComponent *comp = NULL;
icalcomponent *top_level = NULL;
- GList *users;
+ GList *users = NULL;
GNOME_Evolution_Composer_RecipientList *to_list = NULL;
GNOME_Evolution_Composer_RecipientList *cc_list = NULL;
GNOME_Evolution_Composer_RecipientList *bcc_list = NULL;