[gnome-flashback] common: initialize color
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] common: initialize color
- Date: Thu, 12 Mar 2020 20:50:51 +0000 (UTC)
commit 0198ca5edfaf748cffa7fbb0bd404c747189867c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Mar 12 17:51:42 2020 +0200
common: initialize color
CID 1491459.
gnome-flashback/libcommon/gf-background-utils.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnome-flashback/libcommon/gf-background-utils.c b/gnome-flashback/libcommon/gf-background-utils.c
index 7a32a72..66ddaef 100644
--- a/gnome-flashback/libcommon/gf-background-utils.c
+++ b/gnome-flashback/libcommon/gf-background-utils.c
@@ -371,6 +371,8 @@ gf_background_surface_create (GdkDisplay *display,
cr = cairo_create (surface);
+ color = (GdkRGBA) {};
+
n_monitors = gdk_display_get_n_monitors (display);
for (i = 0; i < n_monitors; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]