Call gtk_widget_set_has_window for missing windowed widgets

This commit is contained in:
Timm Bäder 2016-11-12 08:39:35 +01:00
parent 4e445e8e53
commit c944bf7330
3 changed files with 4 additions and 0 deletions

View File

@ -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);
}
/**

View File

@ -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;

View File

@ -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);