add ui_object_set_onclose

add ui_remove_destructor

make sure uic_context_prepare_close is called before the window is destroyed (GTK)

rework window closing behavior and reference counting (GTK)

(0) -1000 -300 -100 -30 -10 -4 +4 +10 +30 tip

mercurial