forked from AuroraMiddleware/gtk
Remove recent GtkStyle usage in GtkWindow
GtkStyleContext API is used instead.
This commit is contained in:
parent
e94b515171
commit
f506fc3e93
@ -4889,8 +4889,7 @@ gtk_window_realize (GtkWidget *widget)
|
||||
gtk_widget_set_window (widget, gdk_window);
|
||||
gdk_window_set_user_data (gdk_window, widget);
|
||||
|
||||
gtk_widget_style_attach (widget);
|
||||
gtk_style_set_background (gtk_widget_get_style (widget), gdk_window, GTK_STATE_NORMAL);
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (widget), gdk_window);
|
||||
|
||||
gdk_window_enable_synchronized_configure (gdk_window);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user