tests: Remove unused variable

This commit is contained in:
Benjamin Otte 2016-02-07 19:18:00 +01:00 committed by Benjamin Otte
parent ce8a98e21b
commit 34db80c28b

View File

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