diff options
author | JP Rosevear <jpr@ximian.com> | 2004-05-07 22:03:51 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-05-07 22:03:51 +0800 |
commit | 1f5bf3a71fdf568c6b3c7b8f5bb548635cafd41a (patch) | |
tree | 3d25c56933de80772252c5777ee0ea9fb49bce23 /calendar/gui/e-cal-model.c | |
parent | 4e919deeff40049f3ca1dda409d21ea84f7700bd (diff) | |
download | gsoc2013-evolution-1f5bf3a71fdf568c6b3c7b8f5bb548635cafd41a.tar.gz gsoc2013-evolution-1f5bf3a71fdf568c6b3c7b8f5bb548635cafd41a.tar.zst gsoc2013-evolution-1f5bf3a71fdf568c6b3c7b8f5bb548635cafd41a.zip |
fix comment and check
2004-05-07 JP Rosevear <jpr@ximian.com>
* gui/e-cal-model.c (ecm_is_cell_editable): fix comment and check
* gui/e-cal-model-tasks.c (ecmt_set_value_at): set a parent field
properly
(ecmt_is_cell_editable): fix comment and check
svn path=/trunk/; revision=25823
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r-- | calendar/gui/e-cal-model.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 25a866db3a..ca3ca1e863 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -671,9 +671,7 @@ ecm_is_cell_editable (ETableModel *etm, int col, int row) priv = model->priv; g_return_val_if_fail (col >= 0 && col <= E_CAL_MODEL_FIELD_LAST, FALSE); - - /* FIXME: We can't check this as 'click-to-add' passes row 0. */ - /*g_return_val_if_fail (row >= 0 && row < priv->objects->len, FALSE);*/ + g_return_val_if_fail (row >= -1 && row < priv->objects->len, FALSE); switch (col) { case E_CAL_MODEL_FIELD_CATEGORIES : |