display: fix wrong assertion in gimp_display_shell_set_child

This commit is contained in:
Gabriele Barbero 2026-02-23 18:26:17 +01:00 committed by Jehan
parent eb52c529ff
commit 0d3ea5f4f1

View file

@ -1437,7 +1437,7 @@ gimp_display_shell_push_overlay_inside_canvas (GimpDisplayShell *shell,
gdouble tlx, tly, brx, bry;
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (GTK_IS_WIDGET (shell));
g_return_if_fail (GTK_IS_WIDGET (child));
ulimit = limits[0];
rlimit = limits[1];