From 4ebe5d030931b7b3c8d9cac9e16277ce4250468b Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 17 Oct 2002 20:59:33 +0000 Subject: changed to have a gboolean return type, which is what it's supposed to do. 2002-10-17 Rodrigo Moya * gui/dialogs/recurrence-page.c (fill_component): changed to have a gboolean return type, which is what it's supposed to do. (recurrence_page_fill_component): return the result from fill_component. * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. svn path=/trunk/; revision=18387 --- calendar/ChangeLog | 9 +++++++++ calendar/gui/dialogs/comp-editor-page.h | 6 +++--- calendar/gui/dialogs/recurrence-page.c | 8 ++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index b2d7b87ca5..5cfd140042 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2002-10-17 Rodrigo Moya + + * gui/dialogs/recurrence-page.c (fill_component): changed to have a + gboolean return type, which is what it's supposed to do. + (recurrence_page_fill_component): return the result from + fill_component. + + * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. + 2002-10-11 JP Rosevear * gui/gnome-cal.c diff --git a/calendar/gui/dialogs/comp-editor-page.h b/calendar/gui/dialogs/comp-editor-page.h index 4e5eadebda..51a94a6918 100644 --- a/calendar/gui/dialogs/comp-editor-page.h +++ b/calendar/gui/dialogs/comp-editor-page.h @@ -100,9 +100,9 @@ void comp_editor_page_notify_summary_changed (CompEditorPage *page, const char *summary); void comp_editor_page_notify_dates_changed (CompEditorPage *page, CompEditorPageDates *dates); -void comp_editor_display_validation_error (CompEditorPage *page, - const char *msg, - GtkWidget *field); +void comp_editor_page_display_validation_error (CompEditorPage *page, + const char *msg, + GtkWidget *field); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index cee05b5c60..f587c6dbcb 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -847,7 +847,7 @@ simple_recur_to_comp (RecurrencePage *rpage, CalComponent *comp) /* Fills a component with the data from the recurrence page; in the case of a * custom recurrence, it leaves it intact. */ -static void +static gboolean fill_component (RecurrencePage *rpage, CalComponent *comp) { RecurrencePagePrivate *priv; @@ -912,6 +912,8 @@ fill_component (RecurrencePage *rpage, CalComponent *comp) cal_component_set_exdate_list (comp, list); cal_component_free_exdate_list (list); + + return TRUE; } /* Re-tags the recurrence preview calendar based on the current information of @@ -1934,9 +1936,7 @@ recurrence_page_fill_component (CompEditorPage *page, CalComponent *comp) RecurrencePage *rpage; rpage = RECURRENCE_PAGE (page); - fill_component (rpage, comp); - - return TRUE; + return fill_component (rpage, comp); } /* set_summary handler for the recurrence page */ -- cgit v1.2.3