[gnome-calendar/date-selector] date-selector: remove unneeded initialization
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/date-selector] date-selector: remove unneeded initialization
- Date: Tue, 23 Dec 2014 16:16:44 +0000 (UTC)
commit 173439d5d91c7656c3d893725f561c585f226680
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Dec 23 14:16:35 2014 -0200
date-selector: remove unneeded initialization
GObject initializes private fields to 0, we don't have to redo this work.
src/gcal-date-selector.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index fc651ad..3cbf4bc 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -234,7 +234,6 @@ gcal_date_selector_init (GcalDateSelector *self)
priv->day = 1;
priv->month = 1;
priv->year = 1970;
- priv->have_long_year = FALSE;
priv->mask = nl_langinfo (D_FMT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]