mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
use gimp_image_get_layer_list to iterate over all layers, not just the top level
This commit is contained in:
committed by
Michael Schumacher
parent
a0abed1b98
commit
406c305a4c
@@ -329,7 +329,7 @@ gimp_image_resize_to_visible_layers (GimpImage *image,
|
|||||||
g_return_if_fail (GIMP_IS_CONTEXT (context));
|
g_return_if_fail (GIMP_IS_CONTEXT (context));
|
||||||
g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
|
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)
|
if (! list)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user