eventbox: don't call gtk_style_context_set_background()
This commit is contained in:
@ -447,9 +447,6 @@ gtk_event_box_realize (GtkWidget *widget)
|
|||||||
&attributes, attributes_mask);
|
&attributes, attributes_mask);
|
||||||
gtk_widget_register_window (widget, priv->event_window);
|
gtk_widget_register_window (widget, priv->event_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (visible_window)
|
|
||||||
gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user