Commit 72f86d6b authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Matthias Clasen

iconview: Set background on the widget's window

The widget window is usually covered by the bin_window.
Its background color will become relevant when we introduce
kinetic scrolling with overshooting.
parent 3fb69a0c
......@@ -1302,6 +1302,7 @@ gtk_icon_view_realize (GtkWidget *widget)
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW);
gtk_style_context_set_background (context, icon_view->priv->bin_window);
gtk_style_context_set_background (context, window);
gtk_style_context_restore (context);
gdk_window_show (icon_view->priv->bin_window);
......
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