[gtk+] gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
- Date: Tue, 20 Dec 2011 18:32:34 +0000 (UTC)
commit e24634537ef9fd384f1f7d14d170bf24659e90ff
Author: Javier JardÃn <jjardon gnome org>
Date: Mon Dec 19 13:39:54 2011 +0000
gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
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 fdc055b..b20027a 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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]