diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c index 29140a1f4f..2fb20ef7db 100644 --- a/tests/gtkoffscreenbox.c +++ b/tests/gtkoffscreenbox.c @@ -346,9 +346,6 @@ gtk_offscreen_box_realize (GtkWidget *widget) G_CALLBACK (offscreen_window_from_parent2), offscreen_box); context = gtk_widget_get_style_context (widget); - gtk_style_context_set_background (context, window); - gtk_style_context_set_background (context, offscreen_box->offscreen_window1); - gtk_style_context_set_background (context, offscreen_box->offscreen_window2); gdk_window_show (offscreen_box->offscreen_window1); gdk_window_show (offscreen_box->offscreen_window2);