Commit e2463453 authored by Javier Jardón's avatar Javier Jardón

gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one

parent 2827cd45
......@@ -961,8 +961,8 @@ gtk_tray_icon_realize (GtkWidget *widget)
if (icon->priv->manager_visual_rgba)
{
/* Set a transparent background */
GdkColor transparent = { 0, 0, 0, 0 }; /* Only pixel=0 matters */
gdk_window_set_background (window, &transparent);
GdkRGBA transparent = { 0.0, 0.0, 0.0, 0.0 };
gdk_window_set_background_rgba (window, &transparent);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment