Skip to content
  • Havoc Pennington's avatar
    Verify GtkWidget invariants if G_ENABLE_DEBUG is defined · 23ce44c9
    Havoc Pennington authored
    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.
    23ce44c9