mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
app: fix bug added in commit 036510d191
.
This second GIMP_IS_ITEM() test was obviously for the iter2->data item. This fixes handling cases when aligning/distributing a mix of GimpItem-s and guides.
This commit is contained in:
parent
e0913586fd
commit
064ec53964
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ gimp_image_arrange_objects (GimpImage *image,
|
|||
{
|
||||
for (iter2 = list; iter2; iter2 = iter2->next)
|
||||
{
|
||||
if (GIMP_IS_ITEM (iter->data) &&
|
||||
if (GIMP_IS_ITEM (iter2->data) &&
|
||||
gimp_viewable_is_ancestor (iter2->data, iter->data))
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue