diff options
Diffstat (limited to 'calendar/gui/dialogs/send-comp.c')
-rw-r--r-- | calendar/gui/dialogs/send-comp.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |