tests: Remove useless calls to gtk_widget_style_attach()

This commit is contained in:
Benjamin Otte
2011-01-11 16:40:16 +01:00
parent 35d361fce9
commit b40dc528f6
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

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