diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-03-15 03:42:28 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-03-15 03:42:28 +0800 |
commit | 238c20117fc8d3fdddb270e3ef197593e45e1a85 (patch) | |
tree | db878b0600605fb4931134f6854a39bacbdd2c98 /calendar/gui/e-meeting-model.c | |
parent | dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a (diff) | |
download | gsoc2013-evolution-238c20117fc8d3fdddb270e3ef197593e45e1a85.tar.gz gsoc2013-evolution-238c20117fc8d3fdddb270e3ef197593e45e1a85.tar.zst gsoc2013-evolution-238c20117fc8d3fdddb270e3ef197593e45e1a85.zip |
Fixes #39740
2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes #39740
* gui/e-meeting-model.c (is_cell_editable): check row number is valid
before using it as index for the GPtrArray.
2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes #39356
* gui/Makefile.am:
* gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff.
* gui/calendar-component.c (owner_set_cb): don't call tasks_migrate.
svn path=/trunk/; revision=20301
Diffstat (limited to 'calendar/gui/e-meeting-model.c')
-rw-r--r-- | calendar/gui/e-meeting-model.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c index d3261bd125..7122792ec4 100644 --- a/calendar/gui/e-meeting-model.c +++ b/calendar/gui/e-meeting-model.c @@ -497,6 +497,8 @@ is_cell_editable (ETableModel *etm, int col, int row) if (row == -1) return TRUE; + if (row >= priv->attendees->len) + return TRUE; ia = g_ptr_array_index (priv->attendees, row); level = e_meeting_attendee_get_edit_level (ia); |