[gtk+] GtkTrayIcon: fix uninitialised variable



commit 413d27508f92306bb6daf87426b6444525391f27
Author: Balló György <ballogyor gmail com>
Date:   Sun Apr 10 21:42:04 2016 +0200

    GtkTrayIcon: fix uninitialised variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764863

 gtk/deprecated/gtktrayicon-x11.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/deprecated/gtktrayicon-x11.c b/gtk/deprecated/gtktrayicon-x11.c
index 02310a9..556b9da 100644
--- a/gtk/deprecated/gtktrayicon-x11.c
+++ b/gtk/deprecated/gtktrayicon-x11.c
@@ -551,6 +551,7 @@ gtk_tray_icon_get_colors_property (GtkTrayIcon *icon)
     {
       GdkRGBA color;
 
+      color.alpha = 1.0;
       g_object_freeze_notify (G_OBJECT (icon));
 
       color.red = prop.prop[0] / 65535.0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]