1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-05 21:02:42 +02:00

use gimp_image_get_layer_list to iterate over all layers, not just the top level

This commit is contained in:
Michael Schumacher
2025-09-21 17:28:07 +02:00
committed by Michael Schumacher
parent a0abed1b98
commit 406c305a4c

View File

@@ -329,7 +329,7 @@ gimp_image_resize_to_visible_layers (GimpImage *image,
g_return_if_fail (GIMP_IS_CONTEXT (context));
g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
list = gimp_image_get_layer_iter (image);
list = gimp_image_get_layer_list (image);
if (! list)
return;