summaryrefslogtreecommitdiff
path: root/tests/gtkoffscreenbox.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2016-02-07 19:18:00 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-11 03:44:47 +0100
commit34db80c28b11f147dd0c2389a3fda0e013ad1bb9 (patch)
tree8d3322aa96075130e4094c34c330d88fd1113923 /tests/gtkoffscreenbox.c
parentce8a98e21b96e7bc37abfb013791a895d38f9313 (diff)
downloadgtk+-34db80c28b11f147dd0c2389a3fda0e013ad1bb9.tar.gz
tests: Remove unused variable
Diffstat (limited to 'tests/gtkoffscreenbox.c')
-rw-r--r--tests/gtkoffscreenbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 2fb20ef7db..f0a8225754 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -252,7 +252,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
{
GtkOffscreenBox *offscreen_box = GTK_OFFSCREEN_BOX (widget);
GtkAllocation allocation, child_area;
- GtkStyleContext *context;
GdkWindow *window;
GdkWindowAttr attributes;
gint attributes_mask;
@@ -345,8 +344,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
g_signal_connect (offscreen_box->offscreen_window2, "from-embedder",
G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
- context = gtk_widget_get_style_context (widget);
-
gdk_window_show (offscreen_box->offscreen_window1);
gdk_window_show (offscreen_box->offscreen_window2);
}