[gtk+/rendering-cleanup: 21/31] trayicon: Use new gdk_window_set_background_pattern() API



commit 7641715dcb4624d9ebd0230748cf500c952539c5
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 15 14:35:48 2010 +0200

    trayicon: Use new gdk_window_set_background_pattern() API

 gtk/gtktrayicon-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 5e7a75c..13b451f 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -861,7 +861,7 @@ gtk_tray_icon_realize (GtkWidget *widget)
   else
     {
       /* Set a parent-relative background pixmap */
-      gdk_window_set_back_pixmap (widget->window, NULL, TRUE);
+      gdk_window_set_background_pattern (widget->window, NULL);
     }
 
   GTK_NOTE (PLUGSOCKET,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]