small fixes in the motif grid widget

fix potential use-after-free in uic_context_detach_all

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

mercurial