Commit ddd12f3f authored by Carlos Garnacho's avatar Carlos Garnacho

Make GtkSocket use GtkStyleContext

parent cb210851
......@@ -391,9 +391,8 @@ gtk_socket_realize (GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, socket);
gtk_widget_style_attach (widget);
gtk_style_set_background (gtk_widget_get_style (widget),
window, GTK_STATE_NORMAL);
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
window);
_gtk_socket_windowing_realize_window (socket);
......
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