GtkTrayIcon: fix uninitialised variable

https://bugzilla.gnome.org/show_bug.cgi?id=764863
This commit is contained in:
Balló György 2016-04-10 21:42:04 +02:00 committed by Matthias Clasen
parent 3f8313c735
commit 413d27508f

View File

@ -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;