mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Make GtkSocket use GtkStyleContext
This commit is contained in:
parent
cb21085187
commit
ddd12f3f19
@ -391,9 +391,8 @@ gtk_socket_realize (GtkWidget *widget)
|
|||||||
gtk_widget_set_window (widget, window);
|
gtk_widget_set_window (widget, window);
|
||||||
gdk_window_set_user_data (window, socket);
|
gdk_window_set_user_data (window, socket);
|
||||||
|
|
||||||
gtk_widget_style_attach (widget);
|
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
|
||||||
gtk_style_set_background (gtk_widget_get_style (widget),
|
window);
|
||||||
window, GTK_STATE_NORMAL);
|
|
||||||
|
|
||||||
_gtk_socket_windowing_realize_window (socket);
|
_gtk_socket_windowing_realize_window (socket);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user