Commit 23ce44c9 authored by Committed by Matthias ClasenBrowse files
Verify GtkWidget invariants if G_ENABLE_DEBUG is defined
These checks are a bit expensive so require --enable-debug=yes. gtk_widget_verify_invariants() checks invariants mentioned in docs/widget_system.txt in particular, and can verify others in the future. Some of the invariants in docs/widget_system.txt don't in fact hold right now, so those are #if 0'd in this patch pending someone fixing either the docs or the code.
Showing with 227 additions and 7 deletions