diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktrayicon-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index fdc055b6f3..b20027a91c 100644 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -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 { |