overlay: don't call gtk_style_context_set_background()

This commit is contained in:
Cosimo Cecchi 2015-06-03 18:22:28 -07:00
parent aab3d4679f
commit 9230143bbf

View File

@ -156,7 +156,6 @@ gtk_overlay_create_child_window (GtkOverlay *overlay,
window = gdk_window_new (gtk_widget_get_window (widget),
&attributes, attributes_mask);
gtk_widget_register_window (widget, window);
gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
gdk_window_set_pass_through (window, child->pass_through);