mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
tests: Remove unused variable
This commit is contained in:
parent
ce8a98e21b
commit
34db80c28b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user