mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Call gtk_widget_set_has_window for missing windowed widgets
This commit is contained in:
parent
4e445e8e53
commit
c944bf7330
@ -140,6 +140,7 @@ gtk_drawing_area_class_init (GtkDrawingAreaClass *class)
|
||||
static void
|
||||
gtk_drawing_area_init (GtkDrawingArea *darea)
|
||||
{
|
||||
gtk_widget_set_has_window (GTK_WIDGET (darea), TRUE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -747,6 +747,8 @@ gtk_layout_init (GtkLayout *layout)
|
||||
{
|
||||
GtkLayoutPrivate *priv;
|
||||
|
||||
gtk_widget_set_has_window (GTK_WIDGET (layout), TRUE);
|
||||
|
||||
layout->priv = gtk_layout_get_instance_private (layout);
|
||||
priv = layout->priv;
|
||||
|
||||
|
@ -393,6 +393,7 @@ gtk_tool_item_group_init (GtkToolItemGroup *group)
|
||||
GtkCssNode *widget_node;
|
||||
|
||||
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (group), FALSE);
|
||||
gtk_widget_set_has_window (GTK_WIDGET (group), TRUE);
|
||||
|
||||
group->priv = priv = gtk_tool_item_group_get_instance_private (group);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user