From 3cc1085d978db3f698071141fd64133a483d2015 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Apr 2007 17:57:53 +0000 Subject: [PATCH] A NO_WINDOW widget must not set the background of its window. (#433972, 2007-04-30 Matthias Clasen * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget must not set the background of its window. (#433972, Guilherme Polo) svn path=/trunk/; revision=17744 --- ChangeLog | 6 ++++++ gtk/gtkexpander.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 00cf6f9dd9..2fd4c94569 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-30 Matthias Clasen + + * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget + must not set the background of its window. (#433972, + Guilherme Polo) + 2007-04-30 Richard Hult * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity): diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 5e38ec980e..d0b441960e 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -411,7 +411,7 @@ gtk_expander_realize (GtkWidget *widget) gdk_window_set_user_data (priv->event_window, widget); widget->style = gtk_style_attach (widget->style, widget->window); - gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL); + //gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL); } static void