[gnome-calendar] year-view: end-date passed to edit-dialog
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] year-view: end-date passed to edit-dialog
- Date: Tue, 27 Jan 2015 18:07:05 +0000 (UTC)
commit 9838f8c64e3e61b2760a8dc01cee5e488a09b3c7
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Tue Jan 27 12:59:38 2015 -0500
year-view: end-date passed to edit-dialog
src/gcal-year-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index 059581d..7d0165d 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -915,6 +915,8 @@ add_event_clicked_cb (GcalYearView *year_view,
{
start_date = gcal_dup_icaltime (priv->start_selected_date);
end_date = gcal_dup_icaltime (priv->end_selected_date);
+ end_date->day += 1;
+ *end_date = icaltime_normalize (*end_date);
end_date->is_date = 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]