From faea9f4360005a0869a62e4da5d459a6067ca9c5 Mon Sep 17 00:00:00 2001 From: Parthasarathi S A Date: Fri, 6 Aug 2004 10:05:23 +0000 Subject: Fix for bug #61673. The function takes two arguments now, instead of one. 2004-08-05 Parthasarathi S A Fix for bug #61673. * calendar/gui/dialogs/save_comp.c(save_component_dialog): The function takes two arguments now, instead of one. The second argument is the pointer to the ECalComponent from which the component type can be determined. Based on the component type the corresponding error message is displayed. * calendar/gui/dialogs/save_comp.h: Function definition updated for save_component_dialog. * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes): passing the ECalComponent pointer to the 'save_component_dialog' function * calendar/calendar-errors.xml: New error message string for task included * calendar/calendar-errors.xml.h svn path=/trunk/; revision=26839 --- calendar/gui/dialogs/save-comp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/save-comp.h') diff --git a/calendar/gui/dialogs/save-comp.h b/calendar/gui/dialogs/save-comp.h index a9aedd2bce..79abe30453 100644 --- a/calendar/gui/dialogs/save-comp.h +++ b/calendar/gui/dialogs/save-comp.h @@ -23,7 +23,8 @@ #define SAVE_COMP_H #include +#include -GtkResponseType save_component_dialog (GtkWindow *parent); +GtkResponseType save_component_dialog (GtkWindow *parent, ECalComponent *comp); #endif -- cgit v1.2.3