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

This commit is contained in:
Javier Jardón 2011-12-19 13:39:54 +00:00
parent 2827cd4518
commit e24634537e

View File

@ -961,8 +961,8 @@ gtk_tray_icon_realize (GtkWidget *widget)
if (icon->priv->manager_visual_rgba) if (icon->priv->manager_visual_rgba)
{ {
/* Set a transparent background */ /* Set a transparent background */
GdkColor transparent = { 0, 0, 0, 0 }; /* Only pixel=0 matters */ GdkRGBA transparent = { 0.0, 0.0, 0.0, 0.0 };
gdk_window_set_background (window, &transparent); gdk_window_set_background_rgba (window, &transparent);
} }
else else
{ {