testoffscreen: Remove deprecated calls

Not doing these calls doesn't seem to affect the demo,
so lets just remove them.
This commit is contained in:
Matthias Clasen 2016-01-29 11:50:22 -05:00
parent 3302c2a12c
commit 17d9e94682

View File

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