[gnome-calendar] calendar: Always initialize color
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] calendar: Always initialize color
- Date: Wed, 9 Oct 2019 16:07:28 +0000 (UTC)
commit 1c39e501f60399b957e2df218b37ea764cd678e3
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]