[gnome-calendar/gnome-3-34] calendar: Always initialize color
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-34] calendar: Always initialize color
- Date: Wed, 9 Oct 2019 16:07:03 +0000 (UTC)
commit d8bb28cfc1ee9c591331172474226ba3cd9839ba
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Oct 9 12:35:22 2019 -0300
calendar: Always initialize color
src/core/gcal-calendar.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/core/gcal-calendar.c b/src/core/gcal-calendar.c
index 1e68d2c8..82917245 100644
--- a/src/core/gcal-calendar.c
+++ b/src/core/gcal-calendar.c
@@ -387,6 +387,9 @@ gcal_calendar_class_init (GcalCalendarClass *klass)
static void
gcal_calendar_init (GcalCalendar *self)
{
+ GcalCalendarPrivate *priv = gcal_calendar_get_instance_private (self);
+
+ gdk_rgba_parse (&priv->color, "#ffffff");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]