aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-08-29 20:01:44 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-08-29 20:01:44 +0800
commitff70d4b0ccf480eeca006c41a4e9e4983d54357c (patch)
tree2cdf381ddd2b9b459286155046c57e7d25054b14 /calendar/gui
parent5733ceabba01a50deea3036992045985d629da49 (diff)
downloadgsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.gz
gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.zst
gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.zip
2007-08-29 Suman Manjunath Fix for bug #466051
svn path=/trunk/; revision=34131
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/memo-page.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 6c50cc029f..e29d9cc38c 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -693,11 +693,13 @@ memo_page_fill_component (CompEditorPage *page, ECalComponent *comp)
comp_editor_page_display_validation_error (page, _("Start date is wrong"), priv->start_date);
return FALSE;
}
- e_date_edit_get_date (E_DATE_EDIT (priv->start_date),
+ if (e_date_edit_get_date (E_DATE_EDIT (priv->start_date),
&start_tt.year,
&start_tt.month,
- &start_tt.day);
- e_cal_component_set_dtstart (comp, &start_date);
+ &start_tt.day))
+ e_cal_component_set_dtstart (comp, &start_date);
+ else
+ e_cal_component_set_dtstart (comp, NULL);
/* Classification. */
e_cal_component_set_classification (comp, priv->classification);