Commit b40dc528 authored by Benjamin Otte's avatar Benjamin Otte

tests: Remove useless calls to gtk_widget_style_attach()

parent 35d361fc
......@@ -337,8 +337,6 @@ cell_area_scaffold_realize (GtkWidget *widget)
priv->event_window = gdk_window_new (window, &attributes, attributes_mask);
gdk_window_set_user_data (priv->event_window, widget);
gtk_widget_style_attach (widget);
static void
......@@ -345,7 +345,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
g_signal_connect (offscreen_box->offscreen_window2, "from-embedder",
G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
gtk_widget_style_attach (widget);
context = gtk_widget_get_style_context (widget);
gtk_style_context_set_background (context, window);
gtk_style_context_set_background (context, offscreen_box->offscreen_window1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment