mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
GtkTrayIcon: fix uninitialised variable
https://bugzilla.gnome.org/show_bug.cgi?id=764863
This commit is contained in:
parent
3f8313c735
commit
413d27508f
@ -551,6 +551,7 @@ gtk_tray_icon_get_colors_property (GtkTrayIcon *icon)
|
|||||||
{
|
{
|
||||||
GdkRGBA color;
|
GdkRGBA color;
|
||||||
|
|
||||||
|
color.alpha = 1.0;
|
||||||
g_object_freeze_notify (G_OBJECT (icon));
|
g_object_freeze_notify (G_OBJECT (icon));
|
||||||
|
|
||||||
color.red = prop.prop[0] / 65535.0;
|
color.red = prop.prop[0] / 65535.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user