aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor-page.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-03-16 00:53:51 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-03-16 00:53:51 +0800
commitd3145f766ad4fea8a18619d79a3d7387cc26523f (patch)
treebaac2d4fdd9c936163b4179125407ad0049eee2d /calendar/gui/dialogs/comp-editor-page.c
parent58b352c98afda13fb05ea5a491a5ebf256050c19 (diff)
downloadgsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar.gz
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar.bz2
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar.lz
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar.xz
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.tar.zst
gsoc2013-evolution-d3145f766ad4fea8a18619d79a3d7387cc26523f.zip
Rename e-cal-view to e-calendar-view and fix includes
2004-03-15 JP Rosevear <jpr@ximian.com> * 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
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-page.c')
-rw-r--r--calendar/gui/dialogs/comp-editor-page.c5
1 files changed, 2 insertions, 3 deletions
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);