aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memo-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r--calendar/gui/e-memo-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 02eef44364..eb7ce3c879 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -444,7 +444,7 @@ get_selected_comp (EMemoTable *memo_table)
e_table_selected_row_foreach (etable,
get_selected_row_cb,
&row);
- g_assert (row != -1);
+ g_return_val_if_fail (row != -1, NULL);
return e_cal_model_get_component_at (memo_table->model, row);
}