forked from AuroraMiddleware/gtk
gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
This commit is contained in:
parent
2827cd4518
commit
e24634537e
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user