diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-10-18 04:59:33 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-10-18 04:59:33 +0800 |
commit | 4ebe5d030931b7b3c8d9cac9e16277ce4250468b (patch) | |
tree | d4a884f3c4fe525b309921b2115442e2b86ca1ca /calendar | |
parent | d91364b0562ad2d80186c8bc5e94a7792989a53d (diff) | |
download | gsoc2013-evolution-4ebe5d030931b7b3c8d9cac9e16277ce4250468b.tar.gz gsoc2013-evolution-4ebe5d030931b7b3c8d9cac9e16277ce4250468b.tar.zst gsoc2013-evolution-4ebe5d030931b7b3c8d9cac9e16277ce4250468b.zip |
changed to have a gboolean return type, which is what it's supposed to do.
2002-10-17 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor-page.h | 6 | ||||
-rw-r--r-- | 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 <rodrigo@ximian.com> + + * 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 <jpr@ximian.com> * 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 */ |