forked from AuroraMiddleware/gtk
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:
parent
3302c2a12c
commit
17d9e94682
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user