A NO_WINDOW widget must not set the background of its window. (#433972,

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * 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
This commit is contained in:
Matthias Clasen 2007-04-30 17:57:53 +00:00 committed by Matthias Clasen
parent 34c0f15bdf
commit 3cc1085d97
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-04-30 Matthias Clasen <mclasen@redhat.com>
* 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 <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):

View File

@ -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