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



commit 7c11f01154ba6a3bcd6b580daeb80a9bf866b5b0
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 f055e78..107ae83 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -871,7 +871,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]