From 6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 4 Mar 2003 19:52:37 +0000 Subject: If only the pipe wouldn't break. svn path=/trunk/; revision=20143 --- calendar/gui/dialogs/send-comp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/send-comp.c') diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c index 01aeef99fd..65fc6bab96 100644 --- a/calendar/gui/dialogs/send-comp.c +++ b/calendar/gui/dialogs/send-comp.c @@ -41,12 +41,15 @@ * Return value: TRUE if the user clicked Yes, FALSE otherwise. **/ gboolean -send_component_dialog (CalComponent *comp, gboolean new) +send_component_dialog (CalClient *client, CalComponent *comp, gboolean new) { GtkWidget *dialog; CalComponentVType vtype; char *str; + if (cal_client_get_save_schedules (client)) + return FALSE; + vtype = cal_component_get_vtype (comp); switch (vtype) { -- cgit v1.2.3