From d6b8261622a25dce4a5a688fcdc8f361100767b0 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 1 Jul 2015 13:05:45 -0700 Subject: [PATCH] widget: don't call gtk_style_context_set_background() We don't need to do this here anymore, since widgets typically render their backgrounds now. --- gtk/gtkwidget.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 7a3ee28ba2..9360f80ff1 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -8247,12 +8247,6 @@ gtk_widget_real_style_updated (GtkWidget *widget) { const GtkBitmask *changes = _gtk_style_context_get_changes (widget->priv->context); - if (gtk_widget_get_realized (widget) && - gtk_widget_get_has_window (widget) && - !gtk_widget_get_app_paintable (widget)) - gtk_style_context_set_background (widget->priv->context, - widget->priv->window); - if (widget->priv->anchored) { static GtkBitmask *affects_size = NULL;