summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-29 11:50:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-29 11:54:07 -0500
commit17d9e94682303bb9c2f3eb09a6d70a2497349c81 (patch)
tree554a38c19ae07eea8aae8fbfc454a6c3739d5b63 /tests
parent3302c2a12c30237a3cb23c16ad3ca9b877a80922 (diff)
downloadgtk+-17d9e94682303bb9c2f3eb09a6d70a2497349c81.tar.gz
testoffscreen: Remove deprecated calls
Not doing these calls doesn't seem to affect the demo, so lets just remove them.
Diffstat (limited to 'tests')
-rw-r--r--tests/gtkoffscreenbox.c3
1 files changed, 0 insertions, 3 deletions
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);