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



commit 37c52417504c811ea219d85f533a59eccf3b1e8b
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 83ff839..47d3dbe 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -872,7 +872,7 @@ gtk_tray_icon_realize (GtkWidget *widget)
   else
     {
       /* Set a parent-relative background pixmap */
-      gdk_window_set_back_pixmap (window, NULL, TRUE);
+      gdk_window_set_background_pattern (window, NULL);
     }
 
   GTK_NOTE (PLUGSOCKET,



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