GtkWindow: remove unneeded call

gtk_widget_style_attach() is no longer necessary.
This commit is contained in:
Carlos Garnacho 2011-01-03 23:18:54 +01:00
parent d0a3846eb1
commit badbef33ab

View File

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