From e24634537ef9fd384f1f7d14d170bf24659e90ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 19 Dec 2011 13:39:54 +0000 Subject: [PATCH] gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one --- gtk/gtktrayicon-x11.c | 4 ++-- 1 file 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 {