From f70ce21ae5897e30e18008fea39db2fae15ebc33 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 12 Jan 2012 03:02:55 +0100 Subject: [PATCH] iconview: Set background on the widget's window The widget window is usually covered by the bin_window, this is just necessary so the parent scrolled window picks the right color for drawing the overshoot area. --- gtk/gtkiconview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 49ac4a1eb9..101403a1ec 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -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);