gtk: Fix "children left" warning with fatal warnings
authorBastien Nocera <hadess@hadess.net>
Tue, 14 Mar 2023 15:00:47 +0000 (16:00 +0100)
committerBastien Nocera <hadess@hadess.net>
Tue, 14 Mar 2023 15:45:59 +0000 (16:45 +0100)
commit4f1ea18c10764634636f75258bf27e0a970790c7
tree8803415d409f09a81c4f67e38fcfcf146b1a5340
parent664ce48a4c6ec21e6baec4e1e344ca3b8523b6a1
gtk: Fix "children left" warning with fatal warnings

When fatal warnings were turned on, the developer would never see which
widgets were left as children to the widget that triggered the warning as
those were printed in separate g_warning calls.

Print a single warning with all the info so runs with fatal warnings
aren't left without any info.
gtk/gtkwidget.c