[gnome-calendar] quick-add-popover: always set seconds to 0
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] quick-add-popover: always set seconds to 0
- Date: Sat, 1 Oct 2016 23:43:45 +0000 (UTC)
commit 159da57e4698c19a82caf3eb812a78fb21e975c2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Oct 1 20:35:32 2016 -0300
quick-add-popover: always set seconds to 0
https://bugzilla.gnome.org/show_bug.cgi?id=772104
src/gcal-quick-add-popover.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-quick-add-popover.c b/src/gcal-quick-add-popover.c
index c75b531..f5a4af3 100644
--- a/src/gcal-quick-add-popover.c
+++ b/src/gcal-quick-add-popover.c
@@ -443,7 +443,7 @@ edit_or_create_event (GcalQuickAddPopover *self,
g_date_time_get_day_of_month (self->date_start),
all_day ? 0 : g_date_time_get_hour (now),
all_day ? 0 : g_date_time_get_minute (now),
- all_day ? 0 : g_date_time_get_second (now));
+ 0);
/* Gather date end */
if (self->date_end)
@@ -454,7 +454,7 @@ edit_or_create_event (GcalQuickAddPopover *self,
g_date_time_get_day_of_month (self->date_end) + (single_day && all_day ? 1
: 0),
all_day ? 0 : g_date_time_get_hour (now) + (is_today ? 1 : 0),
all_day ? 0 : g_date_time_get_minute (now),
- all_day ? 0 : g_date_time_get_second (now));
+ 0);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]