[gnome-flashback] common: initialize color



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]