-
Michael Natterer authored
Instead of checking if the item is attached and belon's to the tree's image (which did miss e.g. passing a channel to the layer tree), we now check if gimp_item_get_tree(item) returns right tree.
70a3addc
Instead of checking if the item is attached and belon's to the tree's image (which did miss e.g. passing a channel to the layer tree), we now check if gimp_item_get_tree(item) returns right tree.