From d3145f766ad4fea8a18619d79a3d7387cc26523f Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 15 Mar 2004 16:53:51 +0000 Subject: Rename e-cal-view to e-calendar-view and fix includes 2004-03-15 JP Rosevear * Rename e-cal-view to e-calendar-view and fix includes * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): pre-conditions should return FALS * gui/e-cal-model.c (copy_ecdv): return the new struct * gui/Makefile.am: build renamed files svn path=/trunk/; revision=25075 --- calendar/gui/dialogs/comp-editor-page.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor-page.c') diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c index 40cff1b0f2..e2187af06c 100644 --- a/calendar/gui/dialogs/comp-editor-page.c +++ b/calendar/gui/dialogs/comp-editor-page.c @@ -237,9 +237,8 @@ comp_editor_page_focus_main_widget (CompEditorPage *page) gboolean comp_editor_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) { - g_return_if_fail (page != NULL); - g_return_if_fail (IS_COMP_EDITOR_PAGE (page)); - g_return_if_fail (comp != NULL); + g_return_val_if_fail (COMP_IS_EDITOR_PAGE (page), FALSE); + g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), FALSE); g_assert (CLASS (page)->fill_widgets != NULL); return (* CLASS (page)->fill_widgets) (page, comp); -- cgit v1.2.3