diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 63ad5653ef..1f933401df 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -6710,7 +6710,8 @@ gtk_widget_real_style_updated (GtkWidget *widget) if (widget->priv->context) { if (gtk_widget_get_realized (widget) && - gtk_widget_get_has_window (widget)) + gtk_widget_get_has_window (widget) && + !gtk_widget_get_app_paintable (widget)) gtk_style_context_set_background (widget->priv->context, widget->priv->window); }