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



commit d87cef0d1fec77506382fb9e720926b91cccdc4b
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 5575277..c451c52 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]