mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
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.
This commit is contained in:
parent
a9b45e7c3c
commit
d6b8261622
@ -8247,12 +8247,6 @@ gtk_widget_real_style_updated (GtkWidget *widget)
|
|||||||
{
|
{
|
||||||
const GtkBitmask *changes = _gtk_style_context_get_changes (widget->priv->context);
|
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)
|
if (widget->priv->anchored)
|
||||||
{
|
{
|
||||||
static GtkBitmask *affects_size = NULL;
|
static GtkBitmask *affects_size = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user