window: Remove hack to set background

I can't see this having any effect in current code, but who knows...
This commit is contained in:
Benjamin Otte 2010-09-08 16:08:46 +02:00
parent 67299ed106
commit 15f48a818d

View File

@ -4774,9 +4774,6 @@ gtk_window_realize (GtkWidget *widget)
if (priv->frame)
gtk_style_set_background (style, priv->frame, GTK_STATE_NORMAL);
/* This is a bad hack to set the window background. */
gtk_window_paint (widget, NULL);
if (priv->transient_parent &&
gtk_widget_get_realized (GTK_WIDGET (priv->transient_parent)))
gdk_window_set_transient_for (gdk_window,