mirror of https://github.com/GNOME/gimp.git
app: silence a harmless Gimp-Core-CRITICAL
Dragging a channel preview (not RGBA) over a layer preview GIMP used to print: Gimp-Core-CRITICAL **: gimp_container_get_child_index: ... assertion `GIMP_IS_CONTAINER (container)' failed
This commit is contained in:
parent
0f08e870f4
commit
c34348a2cd
|
@ -520,8 +520,9 @@ gimp_container_tree_view_real_drop_possible (GimpContainerTreeView *tree_view,
|
|||
else if (gimp_container_have (container, GIMP_OBJECT (src_viewable)))
|
||||
src_container = container;
|
||||
|
||||
src_index = gimp_container_get_child_index (src_container,
|
||||
GIMP_OBJECT (src_viewable));
|
||||
if (src_container)
|
||||
src_index = gimp_container_get_child_index (src_container,
|
||||
GIMP_OBJECT (src_viewable));
|
||||
}
|
||||
|
||||
if (dest_viewable)
|
||||
|
|
Loading…
Reference in New Issue