diff options
Diffstat (limited to 'gtk/gtkgridlayout.c')
-rw-r--r-- | gtk/gtkgridlayout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkgridlayout.c b/gtk/gtkgridlayout.c index aa7bc69ed1..8d54367a7d 100644 --- a/gtk/gtkgridlayout.c +++ b/gtk/gtkgridlayout.c @@ -640,7 +640,7 @@ grid_request_non_spanning (GridRequest *request, GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child); GridChildAttach *attach; - if (!_gtk_widget_get_visible (child)) + if (!gtk_widget_should_layout (child)) continue; attach = &grid_child->attach[orientation]; @@ -778,7 +778,7 @@ grid_request_spanning (GridRequest *request, { GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child); - if (!_gtk_widget_get_visible (child)) + if (!gtk_widget_should_layout (child)) continue; attach = &grid_child->attach[orientation]; @@ -917,7 +917,7 @@ grid_request_compute_expand (GridRequest *request, { GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child); - if (!_gtk_widget_get_visible (child)) + if (!gtk_widget_should_layout (child)) continue; attach = &grid_child->attach[orientation]; @@ -939,7 +939,7 @@ grid_request_compute_expand (GridRequest *request, { GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child); - if (!_gtk_widget_get_visible (child)) + if (!gtk_widget_should_layout (child)) continue; attach = &grid_child->attach[orientation]; @@ -1497,7 +1497,7 @@ grid_request_allocate_children (GridRequest *request, { GtkGridLayoutChild *grid_child = get_grid_child (request->layout, child); - if (!_gtk_widget_get_visible (child)) + if (!gtk_widget_should_layout (child)) continue; allocate_child (request, GTK_ORIENTATION_HORIZONTAL, child, grid_child, &x, &width, &ignore); |