aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index c794b18859..95255c023f 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1753,8 +1753,8 @@ ECalModelComponent *
e_cal_model_copy_component_data (ECalModelComponent *comp_data)
{
ECalModelComponent *new_data;
-
- g_return_if_fail (comp_data != NULL);
+
+ g_return_val_if_fail (comp_data != NULL, NULL);
new_data = g_new0 (ECalModelComponent, 1);