forked from AuroraMiddleware/gtk
GtkWindow: remove unneeded call
gtk_widget_style_attach() is no longer necessary.
This commit is contained in:
parent
d0a3846eb1
commit
badbef33ab
@ -4920,9 +4920,7 @@ gtk_window_realize (GtkWidget *widget)
|
|||||||
|
|
||||||
gdk_window_set_user_data (gdk_window, window);
|
gdk_window_set_user_data (gdk_window, window);
|
||||||
|
|
||||||
gtk_widget_style_attach (widget);
|
|
||||||
context = gtk_widget_get_style_context (widget);
|
context = gtk_widget_get_style_context (widget);
|
||||||
|
|
||||||
gtk_style_context_set_background (context, gdk_window);
|
gtk_style_context_set_background (context, gdk_window);
|
||||||
|
|
||||||
if (priv->transient_parent &&
|
if (priv->transient_parent &&
|
||||||
|
Loading…
Reference in New Issue
Block a user