Skip to content

Add warning when widget with no parent is unparented

Michael Catanzaro requested to merge mcatanzaro/unparent-warning into master

This is a little controversial -- Benjamin is not fond of adding new warnings in GTK 4 -- but it is not really an API break, and will help developers avoid adding unnecessary code to unparent widgets that are already unparented elsewhere. Also, it's still quite early in the life of GTK 4, before most apps have been ported. The earlier we add this warning, the better.

Merge request reports