aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/recurrence-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/recurrence-page.c')
-rw-r--r--calendar/gui/dialogs/recurrence-page.c8
1 files changed, 4 insertions, 4 deletions
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 */