aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-03-04 23:41:36 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-03-04 23:41:36 +0800
commitbd8d2c529fe15e979dd2d33be2fa36c2358f0a96 (patch)
tree9b46520e8009a2c9355a2be9d2b869384f4920a6 /calendar/gui/e-cal-model.c
parent1dd9162176deba1e158ddd5e87d218c209a3da23 (diff)
downloadgsoc2013-evolution-bd8d2c529fe15e979dd2d33be2fa36c2358f0a96.tar.gz
gsoc2013-evolution-bd8d2c529fe15e979dd2d33be2fa36c2358f0a96.tar.zst
gsoc2013-evolution-bd8d2c529fe15e979dd2d33be2fa36c2358f0a96.zip
** Fix for bug #573122
2009-03-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #573122 * gui/dialogs/cal-prefs-dialog.c: (timezone_changed), (show_config): * gui/calendar-config.c: (calendar_config_get_icaltimezone): * gui/e-cal-model.c: (ecm_value_at): Do not pass NULL to icalcomponent_get_first_component. svn path=/trunk/; revision=37366
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 3c64e04296..4007e1236f 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -469,6 +469,7 @@ ecm_value_at (ETableModel *etm, int col, int row)
comp_data = g_ptr_array_index (priv->objects, row);
g_return_val_if_fail (comp_data != NULL, NULL);
+ g_return_val_if_fail (comp_data->icalcomp != NULL, NULL);
switch (col) {
case E_CAL_MODEL_FIELD_CATEGORIES :